W3cubDocs

/OpenJDK 21

Package javax.xml.parsers

package javax.xml.parsers

Provides the classes for processing XML documents with a SAX (Simple API for XML) parser or a DOM (Document Object Model) Document builder. The JAXP Plugability layer allows an application programmer to specify an implementation and configure where to locate it.

Since:
1.4
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.
FactoryConfigurationError
Thrown when a problem with configuration with the Parser Factories exists.
ParserConfigurationException
Indicates a serious configuration error.
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.

© 1993, 2023, 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/en/java/javase/21/docs/api/java.xml/javax/xml/parsers/package-summary.html