/** * This will get the dictionary object in this object that has the name key. * * @param key The key to the value that we are searching for. * * @return The pdf object that matches the key. */ public CosBase GetItem(CosName key) { CosBase retval = null; if (baseObject is CosDictionary) { retval = ((CosDictionary)baseObject).getItem(key); } return(retval); }
/** * This will set the object that this object encapsulates. * * @param object The new object to encapsulate. */ public void SetObject(CosBase obj) { baseObject = obj; }
/** * Constructor. * * @param object The object that this encapsulates. * */ public CosObject(CosBase obj) { SetObject(obj); }