The Document Object Model (DOM) is a set of interfaces defined by
the W3C DOM Working Group. It describes facilities for a programmatic
representation of a parsed XML (or HTML) document. The DOM Level 3
specification defines these interfaces using Interface Definition
Language (IDL) in a language independent fashion and also includes a
Java Language binding.
The JavaTM API for XML processing
specification includes by reference both the abstract semantics
described for the DOM Level 3 Core Recommendation interfaces and the
associated Java Language binding. It does not include the optional
extensions defined by the DOM working group.
The API package included by the JavaTM
API for XML processing specification is:
The endorsed APIs provide broad and useful functionality. However,
the use of a SAX or a DOM parser typically requires knowledge of the
specific implementation of the parser. Providing the functionality of
the endorsed APIs in the Java Platform, while allowing choice of the
implementation of the parser, requires a Pluggability layer.