public class CompareTool.ObjectPath.ArrayPathItem extends CompareTool.ObjectPath.LocalPathItem
CompareTool.ObjectPath
, which describes transition to the PdfArray
element which is now a currently comparing direct object.
Constructor and Description |
---|
ArrayPathItem(int index)
Creates an instance of the CompareTool.ObjectPath.ArrayPathItem .
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getIndex()
The index which defines element of the PdfArray to which the transition was performed.
|
int |
hashCode() |
String |
toString() |
protected Node |
toXmlNode(Document document)
Creates an xml node that describes this direct path item.
|
public ArrayPathItem(int index)
CompareTool.ObjectPath.ArrayPathItem
.
index
- the index which defines element of the PdfArray
to which the transition was performed.
public int getIndex()
PdfArray
to which the transition was performed. See CompareTool.ObjectPath.ArrayPathItem
for more info.
protected Node toXmlNode(Document document)
CompareTool.ObjectPath.LocalPathItem
toXmlNode
in class CompareTool.ObjectPath.LocalPathItem
document
- xml document, to which this xml node will be added.
Copyright © 1998–2020 iText Group NV. All rights reserved.