



















|
| | |
The Xerces2 Java Parser 2.0.0 contains a partial implementation of the W3C Document Object Model
Level 3. This implementation is experimental. The DOM Level 3 specification is
still in working draft stage: you should not consider this implementation complete or correct.
The limitations of this implementation are detailed below.
Please, read this document before using org.apache.xerces.dom3 package.
|
| | |
The Xerces2 Java Parser 2.0.0 contains an implementation of a subset of the W3C DOM Level 3 as
specified in Core, Abstract
Schemas and Load
and Save.
 | DOM Level 3 interfaces are located in org.apache.xerces.dom3 package |
|
 |  |  |  | Implementation of DOM Level 3 Core |  |  |  |  |
| | |
 |
To be able to use DOM Level 3 Core functionality, you will need to cast to Xerces implementation (e.i. DocumentImpl, NodeImpl).
|
-
DOMImplementationRegistry (see DOMImplementationSource)
-
Document: set/getEncoding, set/getVersion, set/getStandalone, adoptNode.
-
Node: isSameNode
-
Node: getInterface
-
Node: set/getUserData
-
Node: isEqualNode()
-
DOMErrorHandler, DOMError, DOMLocator
-
Entity: set/getEncoding, set/getVersion
|
 |  |  |  | Implementation of DOM Level 3 Load and Save |  |  |  |  |
| | |
-
DOMBuilder: does not provide implementation of parseWithContext() and DOMBuilderFilter.
-
DOMWriter: supports all required features and setting format-pretty-print feature to true.
DOMWriter fixes namespaces during serialization.
-
DOMInputSource
-
DocumentLS
-
DOMImplementationLS
|
 |  |  |  | Implementation of DOM Level 3 Abstract Schemas |  |  |  |  |
| | |
 | Xerces does not provide implementation for editing schemas (AS-EDIT) nor we provide implementation
for "Document-editing" |
-
DOMImplementationAS
-
DOMASBuilder supports parsing of XML Schemas and setting the ASModel on the parser.
 |
DOMASBuilder does not support parsing of DTDs.
The parser provides only partial implementation for ASModel.
For more information on how to parse schemas and set those on the parser instance, see dom.ASBuilder sample.
|
|
|
|