COSObjectable
public class FDFJavaScript extends java.lang.Object implements COSObjectable
Constructor | Description |
---|---|
FDFJavaScript() |
Default constructor.
|
FDFJavaScript(COSDictionary javaScript) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
PDTextStream |
getAfter() |
This will get the javascript that is executed after the import.
|
PDTextStream |
getBefore() |
This will get the javascript that is executed before the import.
|
COSDictionary |
getCOSDictionary() |
Convert this standard java object to a COS object.
|
COSBase |
getCOSObject() |
Convert this standard java object to a COS object.
|
java.util.List |
getNamedJavaScripts() |
This will return a list of PDNamedTextStream objects.
|
void |
setAfter(PDTextStream after) |
This will set the javascript code the will get execute after the import.
|
void |
setBefore(PDTextStream before) |
This will set the javascript code the will get execute before the import.
|
void |
setNamedJavaScripts(java.util.List namedStreams) |
This should be a list of PDNamedTextStream objects.
|
public FDFJavaScript()
public FDFJavaScript(COSDictionary javaScript)
javaScript
- The FDF java script.public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public COSDictionary getCOSDictionary()
public PDTextStream getBefore()
public void setBefore(PDTextStream before)
before
- A reference to some javascript code.public PDTextStream getAfter()
public void setAfter(PDTextStream after)
after
- A reference to some javascript code.public java.util.List getNamedJavaScripts()
public void setNamedJavaScripts(java.util.List namedStreams)
namedStreams
- The named streams.