Class DOMCharacterData

    • Constructor Detail

      • DOMCharacterData

        public DOMCharacterData​(int start,
                                int end)
    • Method Detail

      • hasMultiLine

        public boolean hasMultiLine()
      • getDelimiter

        public String getDelimiter()
      • endsWithNewLine

        public boolean endsWithNewLine()
        If data ends with a new line character. Returns false if a character is found before a new line. Non-newline whitespace will be ignored while searching. If no data exists, returns false.
        Returns:
        true if newline character ocurrs before non-whitespace character
      • startsWithNewLine

        public boolean startsWithNewLine()
        If data ends with a new line character. Returns false if a character is found before a new line. Non-newline whitespace will be ignored while searching.
        Returns:
        true if newline character ocurrs before non-whitespace character
      • getNormalizedData

        public String getNormalizedData()
      • hasData

        public boolean hasData()
      • hasSiblings

        public boolean hasSiblings()
        Returns true if this node has sibling nodes.
      • getStartContent

        public int getStartContent()
      • getEndContent

        public int getEndContent()
      • isWhitespace

        public boolean isWhitespace()
        Returns:
        the isWhitespace
      • setWhitespace

        public void setWhitespace​(boolean isWhitespace)
        Set true if this node's data is all whitespace
        Parameters:
        isWhitespace -