# javax.xml.parsers

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

# javax.xml.parsers

## Classes

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

## Exceptions

|------------------------------------------------------------------------------------------------------------------------|------------------------------------------|
| [ParserConfigurationException](https://developer.android.com/reference/javax/xml/parsers/ParserConfigurationException) | Indicates a serious configuration error. |

## Errors

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

-

  ## Classes

  - [DocumentBuilder](https://developer.android.com/reference/javax/xml/parsers/DocumentBuilder)
  - [DocumentBuilderFactory](https://developer.android.com/reference/javax/xml/parsers/DocumentBuilderFactory)
  - [SAXParser](https://developer.android.com/reference/javax/xml/parsers/SAXParser)
  - [SAXParserFactory](https://developer.android.com/reference/javax/xml/parsers/SAXParserFactory)
-

  ## Exceptions

  - [ParserConfigurationException](https://developer.android.com/reference/javax/xml/parsers/ParserConfigurationException)
-

  ## Errors

  - [FactoryConfigurationError](https://developer.android.com/reference/javax/xml/parsers/FactoryConfigurationError)