org.apache.pdfbox.pdmodel.interactive.annotation
public class: PDExternalDataDictionary [javadoc |
source]
java.lang.Object
org.apache.pdfbox.pdmodel.interactive.annotation.PDExternalDataDictionary
All Implemented Interfaces:
COSObjectable
This class represents an external data dictionary.
- version:
$
- Revision: 1.0 $
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from org.apache.pdfbox.pdmodel.interactive.annotation.PDExternalDataDictionary Detail: |
public COSBase getCOSObject() {
return this.dataDictionary;
}
|
public COSDictionary getDictionary() {
return this.dataDictionary;
}
|
public String getSubtype() {
return this.getDictionary().getNameAsString(COSName.SUBTYPE);
}
returns the subtype of the external data dictionary. |
public String getType() {
return this.getDictionary().getNameAsString(COSName.TYPE, "ExData");
}
returns the type of the external data dictionary.
It must be "ExData", if present |
public void setSubtype(String subtype) {
this.getDictionary().setName(COSName.SUBTYPE, subtype);
}
This will set the subtype of the external data dictionary. |