com.groupdocs.parser

Interfaces

Classes

Exceptions

com.groupdocs.parser

Class XmlStructuredHandler

    • Constructor Detail

      • XmlStructuredHandler

        public XmlStructuredHandler()

        Initializes a new instance of the XmlStructuredHandler class.

    • Method Detail

      • isDisposed

        public boolean isDisposed()

        Gets a value indicating whether the extractor is disposed.

        Returns:
        A boolean true if reader is disposed; otherwise, false.
      • dispose

        public void dispose()

        Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

      • openXmlStream

        public InputStream openXmlStream()

        Creates a xml stream for the document.

        Returns:
        An instance of stream with a xml presentation of the document.
      • dispose

        protected void dispose(boolean isDisposing)

        Releases the unmanaged resources used by the extractor.

        Parameters:
        isDisposing - A boolean true if invoked from Dispose; otherwise, false.
      • 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.