![]() |
Internally, XML Builder uses JAXP to build a standard W3C
{@link org.w3c.dom.Document} model (DOM) that you can easily export as a
string, or access and manipulate further if you have special requirements.
The XMLBuilder class serves as a wrapper of {@link org.w3c.dom.Element} nodes,
and provides a number of utility methods that make it simple to
manipulate the underlying element and the document to which it belongs.
In essence, this class performs dual roles: it represents a specific XML
node, and also allows manipulation of the entire underlying XML document.
The platform's default {@link DocumentBuilderFactory} and
{@link DocumentBuilder} classes are used to build the document.