public abstract class COSBase extends Object implements COSObjectable
| Constructor and Description |
|---|
COSBase() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
accept(COSVisitor visitor)
Visitor pattern for the COS model objects
|
COSBase |
getCOSObject()
Convert this standard java object to a COS object.
|
boolean |
hasId() |
IndirectCOSObjectIdentifier |
id() |
void |
idIfAbsent(IndirectCOSObjectIdentifier id)
Assign an id to this
COSBase if it doesn't have one already. |
public COSBase getCOSObject()
getCOSObject in interface COSObjectablepublic abstract void accept(COSVisitor visitor) throws IOException
visitor - IOExceptionpublic IndirectCOSObjectIdentifier id()
COSBase.public void idIfAbsent(IndirectCOSObjectIdentifier id)
COSBase if it doesn't have one already.id - public boolean hasId()
COSBase has an id assigned to itCopyright © 2020 sejda. All rights reserved.