public abstract class COSBase extends Object implements COSObjectable
| Constructor and Description |
|---|
COSBase() |
| 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.
|
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 COSObjectablepublic abstract 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()
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.