Class IndirectPathItem

java.lang.Object
com.itextpdf.kernel.utils.objectpathitems.IndirectPathItem

public final class IndirectPathItem extends Object
An item in the indirect path (see ObjectPath. It encapsulates two corresponding objects from the two comparing documents that were met to get to the path base objects during comparing process.
  • Constructor Details

    • IndirectPathItem

      public IndirectPathItem (PdfIndirectReference cmpObject, PdfIndirectReference outObject)
      Creates IndirectPathItem 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 Details

    • getCmpObject

      public PdfIndirectReference getCmpObject()
      Method returns a IndirectPathItem 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 a IndirectPathItem 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 class Object
    • equals

      public boolean equals (Object obj)
      Overrides:
      equals in class Object