public class CompareTool.ObjectPath.OffsetPathItem extends CompareTool.ObjectPath.LocalPathItem
CompareTool.ObjectPath
, which describes transition to the specific position in PdfStream
.
Constructor and Description |
---|
OffsetPathItem(int offset)
Creates an instance of the CompareTool.ObjectPath.OffsetPathItem .
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getOffset()
The bytes offset of the stream which defines specific position in the PdfStream , to which transition was performed.
|
int |
hashCode() |
String |
toString() |
protected Node |
toXmlNode(Document document)
Creates an xml node that describes this direct path item.
|
public OffsetPathItem(int offset)
CompareTool.ObjectPath.OffsetPathItem
.
offset
- bytes offset to the specific position in PdfStream
.
public int getOffset()
PdfStream
, to which transition was performed.
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–2023 iText Group NV. All rights reserved.