Class JAXPParser

java.lang.Object
org.eclipse.persistence.platform.xml.jaxp.JAXPParser
All Implemented Interfaces:
XMLParser

public class JAXPParser extends Object implements XMLParser

Purpose: An implementation of XMLParser using JAXP 1.3 APIs.

JAXPParser is NOT thread safe.

  • Constructor Details

    • JAXPParser

      public JAXPParser()
      Default constructor.
    • JAXPParser

      public JAXPParser(DocumentBuilderFactory documentBuilderFactory, ErrorHandler errorHandler)
      This constructor can increase performance by providing existing documentBuilderFactory and errorHandler.
      Parameters:
      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.
      Parameters:
      parserFeatures - features for parser
  • Method Details