Package org.apache.pdfbox.pdmodel.common
Class PDDictionaryWrapper
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.common.PDDictionaryWrapper
-
- All Implemented Interfaces:
COSObjectable
- Direct Known Subclasses:
PDAttributeObject
,PDOutlineNode
,PDTransition
,PDTypedDictionaryWrapper
,PDUserProperty
public class PDDictionaryWrapper extends java.lang.Object implements COSObjectable
A wrapper for a COS dictionary.
-
-
Field Summary
Fields Modifier and Type Field Description private COSDictionary
dictionary
-
Constructor Summary
Constructors Constructor Description PDDictionaryWrapper()
Default constructorPDDictionaryWrapper(COSDictionary dictionary)
Creates a new instance with a given COS dictionary.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
COSDictionary
getCOSObject()
Convert this standard java object to a COS object.int
hashCode()
-
-
-
Field Detail
-
dictionary
private final COSDictionary dictionary
-
-
Constructor Detail
-
PDDictionaryWrapper
public PDDictionaryWrapper()
Default constructor
-
PDDictionaryWrapper
public PDDictionaryWrapper(COSDictionary dictionary)
Creates a new instance with a given COS dictionary.- Parameters:
dictionary
- the dictionary
-
-
Method Detail
-
getCOSObject
public COSDictionary getCOSObject()
Convert this standard java object to a COS object.- Specified by:
getCOSObject
in interfaceCOSObjectable
- Returns:
- The cos object that matches this Java object.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-