参考:

 

总结:

  1. javax.xml.parsers

    • Class: DocumentBuilder: Defines the API to obtain DOM Document instances from an XML document.
    • Class: DocumentBuilderFactory: Defines a factory API that enables applications to obtain a parser that produces DOM object trees from xml documents. It can create a new instance of a DocumentBuilder.
    • Class: SAXParser: Defines the API that wraps an XMLReader implementation class. Its instance can parse XML, similar to DocumentBuilder, but with difference.
    • Class: SAXParserFactory: Defines a factory API that enables applications to configure and obtain a SAX based parser to parse XML documents. It can create a new instance of a SAXParser.
  2. org.w3c.dom
    • Interface: Node:  primary datatype  for the entire Document Object Model (DOM). It can get, set, remove, replace any nodes.

相关文章:

  • 2022-12-23
  • 2021-07-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-15
  • 2022-01-27
猜你喜欢
  • 2021-11-15
  • 2021-11-19
  • 2021-11-05
  • 2022-12-23
  • 2022-01-20
  • 2021-11-26
相关资源
相似解决方案