Class PDExternalDataDictionary
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.interactive.annotation.PDExternalDataDictionary
-
- All Implemented Interfaces:
COSObjectable
public class PDExternalDataDictionary extends java.lang.Object implements COSObjectable
This class represents an external data dictionary.- Version:
- $Revision: 1.0 $
-
-
Constructor Summary
Constructors Constructor Description PDExternalDataDictionary()
Constructor.PDExternalDataDictionary(COSDictionary dictionary)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description COSBase
getCOSObject()
Convert this standard java object to a COS object.COSDictionary
getDictionary()
returns the dictionary.java.lang.String
getSubtype()
returns the subtype of the external data dictionary.java.lang.String
getType()
returns the type of the external data dictionary.void
setSubtype(java.lang.String subtype)
This will set the subtype of the external data dictionary.
-
-
-
Constructor Detail
-
PDExternalDataDictionary
public PDExternalDataDictionary()
Constructor.
-
PDExternalDataDictionary
public PDExternalDataDictionary(COSDictionary dictionary)
Constructor.- Parameters:
dictionary
- Dictionary
-
-
Method Detail
-
getCOSObject
public COSBase 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
public COSDictionary getDictionary()
returns the dictionary.- Returns:
- the dictionary
-
getType
public java.lang.String getType()
returns the type of the external data dictionary. It must be "ExData", if present- Returns:
- the type of the external data dictionary
-
getSubtype
public java.lang.String getSubtype()
returns the subtype of the external data dictionary.- Returns:
- the subtype of the external data dictionary
-
setSubtype
public void setSubtype(java.lang.String subtype)
This will set the subtype of the external data dictionary.- Parameters:
subtype
- the subtype of the external data dictionary
-
-