Java™ Platform
Standard Ed. 8

Package javax.xml.parsers

Provides classes allowing the processing of XML documents.

See: Description

  • 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.

Package javax.xml.parsers Description

Provides classes allowing the processing of XML documents. Two types of plugable parsers are supported:

  • SAX (Simple API for XML)
  • DOM (Document Object Model)
Java™ Platform
Standard Ed. 8

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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部