Class JAXPParser

  • All Implemented Interfaces:

    public class JAXPParser
    extends Object
    implements XMLParser

    Purpose: An implementation of XMLParser using JAXP 1.3 APIs.

    JAXPParser is NOT thread safe.

    • Constructor Detail

      • JAXPParser

        public JAXPParser()
        Default constructor.
      • JAXPParser

        public JAXPParser​(DocumentBuilderFactory documentBuilderFactory,
                          ErrorHandler errorHandler)
        This constructor can increase performance by providing existing documentBuilderFactory and errorHandler.
        documentBuilderFactory - existing document builder factory
        errorHandler - existing error handler
      • JAXPParser

        public JAXPParser​(Map<String,​Boolean> parserFeatures)
        This constructor provides way to specify features for parser.
        parserFeatures - features for parser