Class TextValue

  • All Implemented Interfaces:
    Peer

    public final class TextValue
    extends Content
    A class that represents the content element in XFA schemas.
    • Constructor Detail

      • TextValue

        public TextValue​(Element parent,
                         Node prevSibling)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object object)
        Description copied from class: Content
        Equals is a helper function that returns whether two Contents are equal (case-sensitive, and considering the null state of both nodes).
        Overrides:
        equals in class Content
        Parameters:
        object - the content node to compare.
        Returns:
        true if the content nodes are equal.
      • hashCode

        public int hashCode()
        Description copied from class: Content
        Returns a hash code value for the object. This method is unsupported.
        Overrides:
        hashCode in class Content
      • getValue

        public java.lang.String getValue()
        Get the text stored in this element
        Returns:
        the text string truncated to maxChars
      • setValue

        public void setValue​(java.lang.String sText)
        Set the text value within this element
        Parameters:
        sText - a string to set/replace the text stored in this element