org.apache.pdfbox.pdmodel.interactive.measurement
Class PDMeasureDictionary

java.lang.Object
  extended by org.apache.pdfbox.pdmodel.interactive.measurement.PDMeasureDictionary
All Implemented Interfaces:
COSObjectable
Direct Known Subclasses:
PDRectlinearMeasureDictionary

public class PDMeasureDictionary
extends Object
implements COSObjectable

This class represents a measure dictionary.

Version:
$Revision: 1.0 $

Field Summary
static String TYPE
          The type of the dictionary.
 
Constructor Summary
protected PDMeasureDictionary()
          Constructor.
  PDMeasureDictionary(COSDictionary dictionary)
          Constructor.
 
Method Summary
 COSBase getCOSObject()
          Convert this standard java object to a COS object.
 COSDictionary getDictionary()
          This will return the corresponding dictionary.
 String getSubtype()
          returns the subtype of the measure dictionary.
 String getType()
          This will return the type of the measure dictionary.
protected  void setSubtype(String subtype)
          This will set the subtype of the measure dictionary.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final String TYPE
The type of the dictionary.

See Also:
Constant Field Values
Constructor Detail

PDMeasureDictionary

protected PDMeasureDictionary()
Constructor.


PDMeasureDictionary

public PDMeasureDictionary(COSDictionary dictionary)
Constructor.

Parameters:
dictionary - the corresponding dictionary
Method Detail

getCOSObject

public COSBase getCOSObject()
Convert this standard java object to a COS object.

Specified by:
getCOSObject in interface COSObjectable
Returns:
The cos object that matches this Java object.

getDictionary

public COSDictionary getDictionary()
This will return the corresponding dictionary.

Returns:
the measure dictionary

getType

public String getType()
This will return the type of the measure dictionary. It must be "Measure"

Returns:
the type

getSubtype

public String getSubtype()
returns the subtype of the measure dictionary.

Returns:
the subtype of the measure data dictionary

setSubtype

protected void setSubtype(String subtype)
This will set the subtype of the measure dictionary.

Parameters:
subtype - the subtype of the measure dictionary


Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.