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

public Class PDMeasureDictionary

extends Object
implements COSObjectable
Class Inheritance
All Implemented Interfaces
org.apache.pdfbox.pdmodel.common.COSObjectable
Known Direct Subclasses
org.apache.pdfbox.pdmodel.interactive.measurement.PDRectlinearMeasureDictionary
Imports
org.apache.pdfbox.cos.COSDictionary, .COSName, org.apache.pdfbox.pdmodel.common.COSObjectable

This class represents a measure dictionary.

Field Summary

Modifier and TypeField and Description
private final COSDictionary
public static final String
TYPE

The type of the dictionary.

Constructor Summary

AccessConstructor and Description
protected
PDMeasureDictionary()

Constructor.

public
PDMeasureDictionary(COSDictionary
the corresponding dictionary
dictionary
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public COSDictionary

Returns:

the measure dictionary
getCOSObject
()

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

This will return the corresponding dictionary.

public String

Returns:

the subtype of the measure data dictionary
getSubtype
()

returns the subtype of the measure dictionary.

public String

Returns:

the type
getType
()

This will return the type of the measure dictionary.

protected void
setSubtype(String
the subtype of the measure dictionary
subtype
)

This will set the subtype of the measure dictionary.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

measureDictionaryback to summary
private final COSDictionary measureDictionary
TYPEback to summary
public static final String TYPE

The type of the dictionary.

Constructor Detail

PDMeasureDictionaryback to summary
protected PDMeasureDictionary()

Constructor.

PDMeasureDictionaryback to summary
public PDMeasureDictionary(COSDictionary dictionary)

Constructor.

Parameters
dictionary:COSDictionary

the corresponding dictionary

Method Detail

getCOSObjectback to summary
public COSDictionary getCOSObject()

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

This will return the corresponding dictionary.

Returns:COSDictionary

the measure dictionary

Annotations
@Override
getSubtypeback to summary
public String getSubtype()

returns the subtype of the measure dictionary.

Returns:String

the subtype of the measure data dictionary

getTypeback to summary
public String getType()

This will return the type of the measure dictionary. It must be "Measure"

Returns:String

the type

setSubtypeback to summary
protected void setSubtype(String subtype)

This will set the subtype of the measure dictionary.

Parameters
subtype:String

the subtype of the measure dictionary