to top
Android APIs
Since: API Level 1
package

javax.xml.parsers

Provides classes allowing the processing of XML documents. Two types of plugable parsers are supported:
  • SAX (Simple API for XML)
  • DOM (Document Object Model)

Classes

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. 

Exceptions

ParserConfigurationException Indicates a serious configuration error. 

Errors

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