Top Description Fields Constructors Methods
org.apache.pdfbox.pdmodel.interactive.annotation

public Class PDExternalDataDictionary

extends Object
implements COSObjectable
Class Inheritance
All Implemented Interfaces
org.apache.pdfbox.pdmodel.common.COSObjectable
Imports
org.apache.pdfbox.cos.COSDictionary, .COSName, org.apache.pdfbox.pdmodel.common.COSObjectable

This class represents an external data dictionary.

Field Summary

Modifier and TypeField and Description
private final COSDictionary

Constructor Summary

AccessConstructor and Description
public
public
PDExternalDataDictionary(COSDictionary
Dictionary
dictionary
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public COSDictionary

Returns:

the dictionary
getCOSObject
()

Implements org.apache.pdfbox.pdmodel.common.COSObjectable.getCOSObject.

returns the dictionary.

public String

Returns:

the subtype of the external data dictionary
getSubtype
()

returns the subtype of the external data dictionary.

public String

Returns:

the type of the external data dictionary
getType
()

returns the type of the external data dictionary.

public void
setSubtype(String
the subtype of the external data dictionary
subtype
)

This will set the subtype of the external data dictionary.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dataDictionaryback to summary
private final COSDictionary dataDictionary

Constructor Detail

PDExternalDataDictionaryback to summary
public PDExternalDataDictionary()

Constructor.

PDExternalDataDictionaryback to summary
public PDExternalDataDictionary(COSDictionary dictionary)

Constructor.

Parameters
dictionary:COSDictionary

Dictionary

Method Detail

getCOSObjectback to summary
public COSDictionary getCOSObject()

Implements org.apache.pdfbox.pdmodel.common.COSObjectable.getCOSObject.

returns the dictionary.

Returns:COSDictionary

the dictionary

Annotations
@Override
getSubtypeback to summary
public String getSubtype()

returns the subtype of the external data dictionary.

Returns:String

the subtype of the external data dictionary

getTypeback to summary
public String getType()

returns the type of the external data dictionary. It must be "ExData", if present

Returns:String

the type of the external data dictionary

setSubtypeback to summary
public void setSubtype(String subtype)

This will set the subtype of the external data dictionary.

Parameters
subtype:String

the subtype of the external data dictionary