public abstract class COSBase extends java.lang.Object implements COSObjectable
Modifier and Type | Field and Description |
---|---|
private boolean |
direct |
Constructor and Description |
---|
COSBase()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object |
accept(ICOSVisitor visitor)
visitor pattern double dispatch method.
|
COSBase |
getCOSObject()
Convert this standard java object to a COS object.
|
boolean |
isDirect()
If the state is set true, the dictionary will be written direct into the called object.
|
void |
setDirect(boolean direct)
Set the state true, if the dictionary should be written as a direct object and not indirect.
|
public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public abstract java.lang.Object accept(ICOSVisitor visitor) throws java.io.IOException
visitor
- The object to notify when visiting this object.java.io.IOException
- If an error occurs while visiting this object.public boolean isDirect()
public void setDirect(boolean direct)
direct
- set it true, for writing direct object