Module java.xml

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 Summary
    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 XMLReader implementation class.
    SAXParserFactory
    Defines a factory API that enables applications to configure and obtain a SAX based parser to parse XML documents.
  • Exception Summary
    Exception Description
    ParserConfigurationException
    Indicates a serious configuration error.
  • Error Summary
    Error Description
    FactoryConfigurationError
    Thrown when a problem with configuration with the Parser Factories exists.