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  XMLReaderimplementation 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. | 
Provides classes allowing the processing of XML documents. Two types of plugable parsers are supported:
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.