Class PDMeasureDictionary

java.lang.Object
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 Details

  • Constructor Details

    • PDMeasureDictionary

      protected PDMeasureDictionary()
      Constructor.
    • PDMeasureDictionary

      public PDMeasureDictionary(COSDictionary dictionary)
      Constructor.
      Parameters:
      dictionary - the corresponding dictionary
  • Method Details

    • 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