Class ElementContentElementParser

    • Constructor Detail

      • ElementContentElementParser

        public ElementContentElementParser()
    • Method Detail

      • characters

        public void characters​(char[] chars,
                               int offset,
                               int length)
        Description copied from class: DefaultElementParser
        Do nothing by default. Override to process the element text

        The Parser will call this method to report each chunk of character data. SAX parsers may return all contiguous character data in a single chunk, or they may split it into several chunks.

        Specified by:
        characters in interface ElementParser
        Overrides:
        characters in class DefaultElementParser
        Parameters:
        chars - The characters from the XML document.
        offset - The start position in the array.
        length - The number of characters to read from the array.
      • getElementContent

        public String getElementContent()