Class DictPathItem
- java.lang.Object
-
- com.itextpdf.kernel.utils.objectpathitems.LocalPathItem
-
- com.itextpdf.kernel.utils.objectpathitems.DictPathItem
-
public final class DictPathItem extends LocalPathItem
Direct path item (seeObjectPath, which describes transition to thePdfDictionaryentry which value is now a currently comparing direct object.
-
-
Constructor Summary
Constructors Constructor Description DictPathItem(PdfName key)Creates an instance of theDictPathItem.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)PdfNamegetKey()The key which defines to which entry of thePdfDictionarythe transition was performed.inthashCode()java.lang.StringtoString()protected org.w3c.dom.NodetoXmlNode(org.w3c.dom.Document document)Creates an xml node that describes this direct path item.
-
-
-
Field Detail
-
key
private final PdfName key
-
-
Constructor Detail
-
DictPathItem
public DictPathItem(PdfName key)
Creates an instance of theDictPathItem.- Parameters:
key- the key which defines to which entry of thePdfDictionarythe transition was performed.
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
getKey
public PdfName getKey()
The key which defines to which entry of thePdfDictionarythe transition was performed. SeeDictPathItemfor more info.- Returns:
- a
PdfNamewhich is the key which defines to which entry of the dictionary the transition was performed.
-
toXmlNode
protected org.w3c.dom.Node toXmlNode(org.w3c.dom.Document document)
Description copied from class:LocalPathItemCreates an xml node that describes this direct path item.- Specified by:
toXmlNodein classLocalPathItem- Parameters:
document- xml document, to which this xml node will be added.- Returns:
- an xml node describing direct path item.
-
-