Package javax.xml.parsers

Provides classes allowing the processing of XML documents.

See: Description

Class Description
DocumentBuilder

Defines the API to obtain DOM Document instances from an XML document.

DocumentBuilderFactory

Defines a factory API that enables applications to obtain a parser that produces DOM object trees from XML documents.

SAXParser

Defines the API that wraps an XMLReader implementation class.

SAXParserFactory

Defines a factory API that enables applications to configure and obtain a SAX based parser to parse XML documents.

Exception Description
ParserConfigurationException

Indicates a serious configuration error.

Error Description
FactoryConfigurationError

Thrown when a problem with configuration with the Parser Factories exists.

Package javax.xml.parsers Description

Provides classes allowing the processing of XML documents. Two types of plugable parsers are supported:

  • SAX (Simple API for XML)
  • DOM (Document Object Model)

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/javase/8/docs/api/javax/xml/parsers/package-summary.html