public class FDFJavaScript extends java.lang.Object implements COSObjectable
Modifier and Type | Field and Description |
---|---|
private COSDictionary |
dictionary |
Constructor and Description |
---|
FDFJavaScript()
Default constructor.
|
FDFJavaScript(COSDictionary javaScript)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAfter()
This will get the javascript that is executed after the import.
|
java.lang.String |
getBefore()
This will get the javascript that is executed before the import.
|
COSDictionary |
getCOSObject()
Convert this standard java object to a COS object.
|
java.util.Map<java.lang.String,PDActionJavaScript> |
getDoc()
Returns the dictionary's "Doc" entry, that is, a map of key value pairs to be added to the document's JavaScript
name tree.
|
void |
setAfter(java.lang.String after)
This will set the javascript code the will get execute after the import.
|
void |
setBefore(java.lang.String before)
This will set the javascript code the will get execute before the import.
|
void |
setDoc(java.util.Map<java.lang.String,PDActionJavaScript> map)
Sets the dictionary's "Doc" entry.
|
private final COSDictionary dictionary
public FDFJavaScript()
public FDFJavaScript(COSDictionary javaScript)
javaScript
- The FDF java script.public COSDictionary getCOSObject()
getCOSObject
in interface COSObjectable
public java.lang.String getBefore()
public void setBefore(java.lang.String before)
before
- A reference to some javascript code.public java.lang.String getAfter()
public void setAfter(java.lang.String after)
after
- A reference to some javascript code.public java.util.Map<java.lang.String,PDActionJavaScript> getDoc()
public void setDoc(java.util.Map<java.lang.String,PDActionJavaScript> map)
map
- Map of named "JavaScript" dictionaries.