Class PDMeasureDictionary
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.interactive.measurement.PDMeasureDictionary
-
- All Implemented Interfaces:
COSObjectable
- Direct Known Subclasses:
PDRectlinearMeasureDictionary
public class PDMeasureDictionary extends java.lang.Object implements COSObjectable
This class represents a measure dictionary.
-
-
Field Summary
Fields Modifier and Type Field Description private COSDictionary
measureDictionary
static java.lang.String
TYPE
The type of the dictionary.
-
Constructor Summary
Constructors Modifier Constructor Description protected
PDMeasureDictionary()
Constructor.PDMeasureDictionary(COSDictionary dictionary)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description COSDictionary
getCOSObject()
This will return the corresponding dictionary.java.lang.String
getSubtype()
returns the subtype of the measure dictionary.java.lang.String
getType()
This will return the type of the measure dictionary.protected void
setSubtype(java.lang.String subtype)
This will set the subtype of the measure dictionary.
-
-
-
Field Detail
-
TYPE
public static final java.lang.String TYPE
The type of the dictionary.- See Also:
- Constant Field Values
-
measureDictionary
private final COSDictionary measureDictionary
-
-
Constructor Detail
-
PDMeasureDictionary
protected PDMeasureDictionary()
Constructor.
-
PDMeasureDictionary
public PDMeasureDictionary(COSDictionary dictionary)
Constructor.- Parameters:
dictionary
- the corresponding dictionary
-
-
Method Detail
-
getCOSObject
public COSDictionary getCOSObject()
This will return the corresponding dictionary.- Specified by:
getCOSObject
in interfaceCOSObjectable
- Returns:
- the measure dictionary
-
getType
public java.lang.String getType()
This will return the type of the measure dictionary. It must be "Measure"- Returns:
- the type
-
getSubtype
public java.lang.String getSubtype()
returns the subtype of the measure dictionary.- Returns:
- the subtype of the measure data dictionary
-
setSubtype
protected void setSubtype(java.lang.String subtype)
This will set the subtype of the measure dictionary.- Parameters:
subtype
- the subtype of the measure dictionary
-
-