Class IndirectPathItem
- java.lang.Object
-
- com.itextpdf.kernel.utils.objectpathitems.IndirectPathItem
-
public final class IndirectPathItem extends java.lang.ObjectAn 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 PdfIndirectReferencecmpObjectprivate PdfIndirectReferenceoutObject
-
Constructor Summary
Constructors Constructor Description IndirectPathItem(PdfIndirectReference cmpObject, PdfIndirectReference outObject)CreatesIndirectPathIteminstance for two corresponding objects from two comparing documents.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)PdfIndirectReferencegetCmpObject()Method returns aIndirectPathItemobject from the cmp object that was met to get to the path base objects during comparing process.PdfIndirectReferencegetOutObject()Method returns aIndirectPathItemobject that was met to get to the path base objects during comparing process.inthashCode()
-
-
-
Field Detail
-
cmpObject
private final PdfIndirectReference cmpObject
-
outObject
private final PdfIndirectReference outObject
-
-
Constructor Detail
-
IndirectPathItem
public IndirectPathItem(PdfIndirectReference cmpObject, PdfIndirectReference outObject)
CreatesIndirectPathIteminstance 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 aIndirectPathItemobject from the cmp object that was met to get to the path base objects during comparing process.- Returns:
- a
IndirectPathItemobject from the cmp object.
-
getOutObject
public PdfIndirectReference getOutObject()
Method returns aIndirectPathItemobject 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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-