JDOM 1.0

JDOM 1.0 proposes an API set that enables an easy and effective way to read, write, and manage XML data. The specification is similar to DOM, and is fully compatible with both DOM and SAX.

Like DOM, JDOM creates an in-memory representation of the XML data. However, unlike DOM, JDOM takes fewer resources to create the in-memory representation, thus making it more efficient than DOM. Additionally, the namespace handling capability of JDOM is more efficient than that of DOM. JDOM also ensures that the XML data is well-formed. JDOM can read and write DOM and handle SAX events, ensuring that the applications that use DOM or SAX can work seamlessly with JDOM.

Architecturally, JDOM is completely optimized for Java. This enables the developers ...

Get Java™ APIs for XML Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.