JDOM FAQ

xiaoxiao2021-03-06  46

What is JDOM? JDOM is, quite simply, a Java representation of an XML document. JDOM provides a way to represent that document for easy and efficient reading, manipulation, and writing. It has a straightforward API, is a lightweight and fast, and IS Optimized for the Java Programmer. It's an alternative to Dom and Sax, Although It Integrates Well with Both Dom and Sax. JDom is a simple Java representation for an XML document and its simple Java. JDOM provides a description of easy, efficient reading, maintenance, and writing documents. Its API is simple, it is a lightweight, fast, it is to provide an optimized API of the programmer. It is an alternative to a DOM and SAX, although it is also a good job with both of them. What is jdom not? Jdom is not a wrapper for the W3C's Dom, or Another Version of Dom. Jdom is a java-based "Document Object Model" for XML Files. Jdom Serves The Same Purpose As Dom, But IS Easier To Use. JDOM is not an XML parser, like Xerces or Crimson. It is a document object model that uses XML parsers to build documents. JDOM's SAXBuilder class for example uses the SAX events generated by an XML parser to build a JDOM tree. The default XML parser Used by jdom is the jaxp-selected parser, but jdom can use Nearly any Parser. JDOM is not a package of W3C's DOM, nor another version of DOM. JDOM is a Java-based document object model constructed for XML files. The starting point of JDOM is the same as DOM, but it is easier to use.

JDOM is not an XML interpreter, such as Xerces or Crimson. It is a document object model that uses the XML parser to construct a document. For example, JDOM's SAXBuilder class uses SAX events to construct a JDOM tree using SAX events via an XML parser. The XML parser used by JDOM is a JAXP-SELECTED parser that can also be almost all parsers.

转载请注明原文地址:https://www.9cbs.com/read-53842.html

New Post(0)