Package javax.xml.parsers

Bootstrapping APIs for JAXP parsers.

Class Summary

DocumentBuilder Convenience class for parsing an XML document into a W3C DOM object graph.
DocumentBuilderFactory Factory for obtaining document builders.
SAXParser Convenience class for using or accessing a SAX version 1 or 2 parser.
SAXParserFactory Factory for obtaining SAX parsers.

Exception Summary

ParserConfigurationException An exception occurred during configuration of the XML parser.

Error Summary

FactoryConfigurationError An error occurred during configuration of the parser factory.
Bootstrapping APIs for JAXP parsers. This is the first portable API defined for bootstrapping DOM.

JAXP parsers bootstrap in two stages. First is getting a factory, and configuring it. Second is asking that factory for a parser.

The SAX bootstrapping support corresponds to functionality found in the org.xml.sax.helpers package, except that it uses the JAXP two stage bootstrap paradigm and that the parser that's bootstrapped is normally wrapping a SAX parser rather than exposing it for direct use.