public abstract class COSBase extends Object implements COSObjectable
Constructor and Description |
---|
COSBase()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract 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 Object accept(ICOSVisitor visitor) throws IOException
visitor
- The object to notify when visiting this object.IOException
- If an error occurs while visiting this object.public boolean isDirect()
public void setDirect(boolean direct)
direct
- set it true, for writing direct objectCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.