Name some of the important DOM4J classes.

The DOM4J defines several Java classes. Here are the most common classes -

Document - Represents the entire XML document. A Document object is often referred to as a DOM tree.
Element - Represents an XML element. Element object has methods to manipulate its child elements,its text, attributes and namespaces.
Attribute - Represents an attribute of an element. Attribute has method to get and set the value of attribute. It has parent and attribute type.
Node - Represents Element, Attribute or ProcessingInstruction


Need Help? Contact Us.

Log in

*
*

Forgot password?

*

New User

*
*
*
*