Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
public class PSVIDocumentImpl
extends DocumentImpl
Field Summary |
Fields inherited from class org.apache.xerces.dom.DocumentImpl | |
eventListeners , iterators , mutationEvents , ranges |
Fields inherited from class org.apache.xerces.dom.CoreDocumentImpl | |
actualEncoding , allowGrammarAccess , changes , docElement , docType , encoding , errorChecking , fDocumentURI , identifiers , standalone , userData , version , xmlVersionChanged |
Fields inherited from class org.apache.xerces.dom.ParentNode | |
fNodeListCache , firstChild , ownerDocument |
Fields inherited from class org.apache.xerces.dom.ChildNode | |
nextSibling , previousSibling |
Constructor Summary | |
| |
|
Method Summary | |
Node |
|
Attr |
|
Attr |
|
Element |
|
Element |
|
DOMConfiguration |
|
DOMImplementation |
|
Methods inherited from class org.apache.xerces.dom.DocumentImpl | |
addEventListener , cloneNode , copyEventListeners , createEvent , createNodeIterator , createNodeIterator , createRange , createTreeWalker , createTreeWalker , dispatchAggregateEvents , dispatchAggregateEvents , dispatchEvent , dispatchEventToSubtree , dispatchingEventToSubtree , getEventListeners , getImplementation , removeEventListener , saveEnclosingAttr , setEventListeners |
Methods inherited from class org.apache.xerces.dom.ParentNode | |
cloneNode , getChildNodes , getChildNodesUnoptimized , getFirstChild , getLastChild , getLength , getOwnerDocument , getTextContent , hasChildNodes , insertBefore , isEqualNode , item , normalize , removeChild , replaceChild , setReadOnly , setTextContent , synchronizeChildren |
Methods inherited from class org.apache.xerces.dom.ChildNode | |
cloneNode , getNextSibling , getParentNode , getPreviousSibling |
public PSVIDocumentImpl()
Create a document.
public PSVIDocumentImpl(DocumentType doctype)
For DOM2 support. The createDocument factory method is in DOMImplementation.
public Node cloneNode(boolean deep)
Deep-clone a document, including fixing ownerDoc for the cloned children. Note that this requires bypassing the WRONG_DOCUMENT_ERR protection. I've chosen to implement it by calling importNode which is DOM Level 2.
- Overrides:
- cloneNode in interface DocumentImpl
- Parameters:
deep
- boolean, iff true replicate children
- Returns:
- org.w3c.dom.Node
public Attr createAttributeNS(String namespaceURI, String qualifiedName) throws DOMException
Create an attribute with PSVI information
- Overrides:
- createAttributeNS in interface CoreDocumentImpl
public Attr createAttributeNS(String namespaceURI, String qualifiedName, String localName) throws DOMException
Create an attribute with PSVI information
- Overrides:
- createAttributeNS in interface CoreDocumentImpl
public Element createElementNS(String namespaceURI, String qualifiedName) throws DOMException
Create an element with PSVI information
- Overrides:
- createElementNS in interface CoreDocumentImpl
public Element createElementNS(String namespaceURI, String qualifiedName, String localpart) throws DOMException
Create an element with PSVI information
- Overrides:
- createElementNS in interface CoreDocumentImpl
public DOMConfiguration getDomConfig()
The configuration used whenDocument.normalizeDocument
is invoked.
- Overrides:
- getDomConfig in interface CoreDocumentImpl
- Since:
- DOM Level 3
public DOMImplementation getImplementation()
Retrieve information describing the abilities of this particular DOM implementation. Intended to support applications that may be using DOMs retrieved from several different sources, potentially with different underlying representations.
- Overrides:
- getImplementation in interface DocumentImpl