|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pdfbox.pdmodel.fdf.FDFJavaScript
public class FDFJavaScript
This represents an FDF JavaScript dictionary that is part of the FDF document.
Constructor Summary | |
---|---|
FDFJavaScript()
Default constructor. |
|
FDFJavaScript(COSDictionary javaScript)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FDFJavaScript()
public FDFJavaScript(COSDictionary javaScript)
javaScript
- The FDF java script.Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |