JDOM, JDOM Tutorial and example code.


 

JDOM, JDOM Tutorial and example code.

Learn how to use JDOM API to create, read, manipulate and output XML file within Java program.

Learn how to use JDOM API to create, read, manipulate and output XML file within Java program.

JDOM API - JDOM tutorials and examples

In this JDOM tutorial series you will learn XML processing with JDOM API. The java examples discussed here explains the use of JDOM API.

What is JDOM?

The JDOM is open source Java API for manipulating XML files within Java Program. The JDOM API supports XPath and XSLT. It uses the external parser to build the documents. The JDOM was developed by Jason Hunter and Brett McLaughlin starting in March 2000.

The JDOM API allows the developers to write Java programs that can read, manipulate and output XML data. The JDOM is specially designed for the Java platform and it takes the advantages of the Java programming lanauge.

The JDOM API is faster than DOM API and it simplifies the interaction with the XML.

Important package of JDOM API are:

  • The org.jdom package
  • The org.jdom.input package
  • The org.jdom.output package
  • The org.jdom.adapters package

Following tutorials and examples will help you learn JDOM api in detail.

JDOM Introduction
An Overview of the XML-APIs
Reading an XML document using JDOM
Parsing The XML File Using JDOM Parser in JSP

Ads