com.groupdocs.parser

Interfaces

Classes

Exceptions

com.groupdocs.parser

Class ModelStructuredHandler



  • public class ModelStructuredHandler
    extends StructuredHandler

    Represents a handler for extracting a structured text from the document as Model.

    • Constructor Detail

      • ModelStructuredHandler

        public ModelStructuredHandler()

        Initializes a new instance of the ModelStructuredHandler class.

    • Method Detail

      • getRootNode

        public ModelNode getRootNode()

        Gets a root node of the document's model.

        Returns:
        An instance of the ModelNode.
      • onEndElement

        protected void onEndElement()

        Starts to process the closing of the element.

        Overrides:
        onEndElement in class StructuredHandler
      • onText

        protected void onText(TextProperties properties,
                  String value)

        Starts to process the element's text.

        Overrides:
        onText in class StructuredHandler
        Parameters:
        properties - Properties of the element's text.
        value - A text of the element.