COSObjectable
COSArray
, COSBoolean
, COSDictionary
, COSDocument
, COSName
, COSNull
, COSNumber
, COSObject
, COSString
, COSUnread
public abstract class COSBase extends java.lang.Object implements COSObjectable
Constructor | Description |
---|---|
COSBase() |
Modifier and Type | Method | Description |
---|---|---|
abstract java.lang.Object |
accept(ICOSVisitor visitor) |
visitor pattern double dispatch method.
|
COSBase |
getCOSObject() |
Convert this standard java object to a COS object.
|
FilterManager |
getFilterManager() |
This will get the filter manager to use to filter streams.
|
boolean |
isDirect() |
If the state is set true, the dictionary will be written direct into the called object.
|
boolean |
isNeedToBeUpdate() |
|
void |
setDirect(boolean direct) |
Set the state true, if the dictionary should be written as a direct object and not indirect.
|
void |
setNeedToBeUpdate(boolean flag) |
public FilterManager getFilterManager()
public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public abstract java.lang.Object accept(ICOSVisitor visitor) throws COSVisitorException
visitor
- The object to notify when visiting this object.COSVisitorException
- If an error occurs while visiting this object.public void setNeedToBeUpdate(boolean flag)
public boolean isDirect()
public void setDirect(boolean direct)
direct
- set it true, for writting direct objectpublic boolean isNeedToBeUpdate()