码迷,mamicode.com
首页 > 编程语言 > 详细

java & xml parser

时间:2014-10-16 16:14:12      阅读:167      评论:0      收藏:0      [点我收藏+]

标签:des   style   http   color   io   ar   java   for   sp   

参考:

 

总结:

  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.

java & xml parser

标签:des   style   http   color   io   ar   java   for   sp   

原文地址:http://www.cnblogs.com/hf-cherish/p/4028868.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!