Class IndirectPathItem
- java.lang.Object
-
- com.itextpdf.kernel.utils.objectpathitems.IndirectPathItem
-
public final class IndirectPathItem extends java.lang.Object
An item in the indirect path (seeObjectPath
. It encapsulates two corresponding objects from the two comparing documents that were met to get to the path base objects during comparing process.
-
-
Field Summary
Fields Modifier and Type Field Description private PdfIndirectReference
cmpObject
private PdfIndirectReference
outObject
-
Constructor Summary
Constructors Constructor Description IndirectPathItem(PdfIndirectReference cmpObject, PdfIndirectReference outObject)
CreatesIndirectPathItem
instance for two corresponding objects from two comparing documents.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
PdfIndirectReference
getCmpObject()
Method returns aIndirectPathItem
object from the cmp object that was met to get to the path base objects during comparing process.PdfIndirectReference
getOutObject()
Method returns aIndirectPathItem
object that was met to get to the path base objects during comparing process.int
hashCode()
-
-
-
Field Detail
-
cmpObject
private final PdfIndirectReference cmpObject
-
outObject
private final PdfIndirectReference outObject
-
-
Constructor Detail
-
IndirectPathItem
public IndirectPathItem(PdfIndirectReference cmpObject, PdfIndirectReference outObject)
CreatesIndirectPathItem
instance for two corresponding objects from two comparing documents.- Parameters:
cmpObject
- an object from the cmp document.outObject
- an object from the out document.
-
-
Method Detail
-
getCmpObject
public PdfIndirectReference getCmpObject()
Method returns aIndirectPathItem
object from the cmp object that was met to get to the path base objects during comparing process.- Returns:
- a
IndirectPathItem
object from the cmp object.
-
getOutObject
public PdfIndirectReference getOutObject()
Method returns aIndirectPathItem
object that was met to get to the path base objects during comparing process.- Returns:
- an object from the out object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-