Class ArrayPathItem


  • public final class ArrayPathItem
    extends LocalPathItem
    Direct path item (see ObjectPath, which describes transition to the PdfArray element which is now a currently comparing direct object.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int index  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int getIndex()
      The index which defines element of the PdfArray to which the transition was performed.
      int hashCode()  
      java.lang.String toString()  
      protected org.w3c.dom.Node toXmlNode​(org.w3c.dom.Document document)
      Creates an xml node that describes this direct path item.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • index

        private final int index
    • Constructor Detail

      • ArrayPathItem

        public ArrayPathItem​(int index)
        Creates an instance of the ArrayPathItem.
        Parameters:
        index - the index which defines element of the PdfArray to which the transition was performed.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • getIndex

        public int getIndex()
        The index which defines element of the PdfArray to which the transition was performed. See ArrayPathItem for more info.
        Returns:
        the index which defines element of the array to which the transition was performed
      • toXmlNode

        protected org.w3c.dom.Node toXmlNode​(org.w3c.dom.Document document)
        Description copied from class: LocalPathItem
        Creates an xml node that describes this direct path item.
        Specified by:
        toXmlNode in class LocalPathItem
        Parameters:
        document - xml document, to which this xml node will be added.
        Returns:
        an xml node describing direct path item.