COSObjectable
COSArray
, COSBoolean
, COSDictionary
, COSDocument
, COSName
, COSNull
, COSNumber
, COSObject
, COSString
public abstract class COSBase extends java.lang.Object implements COSObjectable
Constructor | Description |
---|---|
COSBase() |
Constructor.
|
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.
|
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 objectCopyright © 2002–2018. All rights reserved.