Class ArrayPathItem
java.lang.Object
com.itextpdf.kernel.utils.objectpathitems.LocalPathItem
com.itextpdf.kernel.utils.objectpathitems.ArrayPathItem
Direct path item (see
ObjectPath
, which describes transition to the PdfArray
element which is now a currently comparing direct object.
-
Constructor Details
-
ArrayPathItem
public ArrayPathItem(int index) Creates an instance of theArrayPathItem
.- Parameters:
-
index
- the index which defines element of thePdfArray
to which the transition was performed.
-
-
Method Details
-
toString
-
hashCode
public int hashCode() -
equals
-
getIndex
public int getIndex()The index which defines element of thePdfArray
to which the transition was performed. SeeArrayPathItem
for more info.- Returns:
- the index which defines element of the array to which the transition was performed
-
toXmlNode
Description copied from class:LocalPathItem
Creates an xml node that describes this direct path item.- Specified by:
-
toXmlNode
in classLocalPathItem
- Parameters:
-
document
- xml document, to which this xml node will be added. - Returns:
- an xml node describing direct path item.
-