Class PDExternalDataDictionary
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 $
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.PDExternalDataDictionary
(COSDictionary dictionary) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionConvert this standard java object to a COS object.returns the dictionary.returns the subtype of the external data dictionary.getType()
returns the type of the external data dictionary.void
setSubtype
(String subtype) This will set the subtype of the external data dictionary.
-
Constructor Details
-
PDExternalDataDictionary
public PDExternalDataDictionary()Constructor. -
PDExternalDataDictionary
Constructor.- Parameters:
dictionary
- Dictionary
-
-
Method Details
-
getCOSObject
Convert this standard java object to a COS object.- Specified by:
getCOSObject
in interfaceCOSObjectable
- Returns:
- The cos object that matches this Java object.
-
getDictionary
returns the dictionary.- Returns:
- the dictionary
-
getType
returns the type of the external data dictionary. It must be "ExData", if present- Returns:
- the type of the external data dictionary
-
getSubtype
returns the subtype of the external data dictionary.- Returns:
- the subtype of the external data dictionary
-
setSubtype
This will set the subtype of the external data dictionary.- Parameters:
subtype
- the subtype of the external data dictionary
-