Class FormatXMLSPIParser

  • All Implemented Interfaces:
    SPIParserType, java.io.Closeable, java.lang.AutoCloseable

    public final class FormatXMLSPIParser
    extends java.lang.Object
    implements SPIParserType
    An XML parser.
    • Constructor Detail

      • FormatXMLSPIParser

        public FormatXMLSPIParser​(SPIParserRequest in_request,
                                  org.xml.sax.XMLReader in_reader)
        Construct a parser.
        Parameters:
        in_request - The parse request
        in_reader - The XML reader
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException
      • errors

        public io.reactivex.rxjava3.core.Observable<ParseError> errors()
        Specified by:
        errors in interface SPIParserType
        Returns:
        The sequence of error events produced during parsing