首页 > 代码库 > java & xml parser
java & xml parser
参考:
- JDK8 API: http://docs.oracle.com/javase/8/docs/api/
- DOM: http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/
总结:
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.
- org.w3c.dom
- Interface: Node: primary datatype for the entire Document Object Model (DOM). It can get, set, remove, replace any nodes.
java & xml parser
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。