Class LineElementsFactory.IStringElement

    • Constructor Detail

      • IStringElement

        public IStringElement​(DocumentSource source,
                              java.lang.String string)
    • Method Detail

      • getString

        public java.lang.String getString()
        Description copied from interface: Document.Element
        Returns the string representation of this element. If the elements were generated originally from a string they should return the exact string again.
        Specified by:
        getString in interface Document.Element
        Returns:
        the string of this element.
      • 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
      • toString

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