# javax.xml.parsers

# javax.xml.parsers

## Classes

|-------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|
| [DocumentBuilder](https://developer.android.com/reference/kotlin/javax/xml/parsers/DocumentBuilder)               | Defines the API to obtain DOM Document instances from an XML document.                                                                                  |
| [DocumentBuilderFactory](https://developer.android.com/reference/kotlin/javax/xml/parsers/DocumentBuilderFactory) | Defines a factory API that enables applications to obtain a parser that produces DOM object trees from XML documents.                                   |
| [SAXParser](https://developer.android.com/reference/kotlin/javax/xml/parsers/SAXParser)                           | Defines the API that wraps an [org.xml.sax.XMLReader](https://developer.android.com/reference/kotlin/org/xml/sax/XMLReader.html#) implementation class. |
| [SAXParserFactory](https://developer.android.com/reference/kotlin/javax/xml/parsers/SAXParserFactory)             | Defines a factory API that enables applications to configure and obtain a SAX based parser to parse XML documents.                                      |

## Exceptions

|-------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------|
| [FactoryConfigurationError](https://developer.android.com/reference/kotlin/javax/xml/parsers/FactoryConfigurationError)       | Thrown when a problem with configuration with the Parser Factories exists. |
| [ParserConfigurationException](https://developer.android.com/reference/kotlin/javax/xml/parsers/ParserConfigurationException) | Indicates a serious configuration error.                                   |