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 | |
org.w3c.dom.Node |
|
org.w3c.dom.Attr |
|
org.w3c.dom.Attr |
|
org.w3c.dom.Element |
|
org.w3c.dom.Element |
|
org.w3c.dom.DOMConfiguration |
|
org.w3c.dom.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 , setOwnerDocument , setReadOnly , setTextContent , synchronizeChildren |
Methods inherited from class org.apache.xerces.dom.ChildNode | |
cloneNode , getNextSibling , getParentNode , getPreviousSibling |
public PSVIDocumentImpl()
Create a document.
public PSVIDocumentImpl(org.w3c.dom.DocumentType doctype)
For DOM2 support. The createDocument factory method is in DOMImplementation.
public org.w3c.dom.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.
- Specified by:
- cloneNode in interface org.w3c.dom.Node
- Overrides:
- cloneNode in interface DocumentImpl
- Parameters:
deep
- boolean, iff true replicate children
- Returns:
- org.w3c.dom.Node
public org.w3c.dom.Attr createAttributeNS(String namespaceURI, String qualifiedName) throws org.w3c.dom.DOMException
Create an attribute with PSVI information
- Specified by:
- createAttributeNS in interface org.w3c.dom.Document
- Overrides:
- createAttributeNS in interface CoreDocumentImpl
public org.w3c.dom.Attr createAttributeNS(String namespaceURI, String qualifiedName, String localName) throws org.w3c.dom.DOMException
Create an attribute with PSVI information
- Overrides:
- createAttributeNS in interface CoreDocumentImpl
public org.w3c.dom.Element createElementNS(String namespaceURI, String qualifiedName) throws org.w3c.dom.DOMException
Create an element with PSVI information
- Specified by:
- createElementNS in interface org.w3c.dom.Document
- Overrides:
- createElementNS in interface CoreDocumentImpl
public org.w3c.dom.Element createElementNS(String namespaceURI, String qualifiedName, String localpart) throws org.w3c.dom.DOMException
Create an element with PSVI information
- Overrides:
- createElementNS in interface CoreDocumentImpl
public org.w3c.dom.DOMConfiguration getDomConfig()
The configuration used whenDocument.normalizeDocument
is invoked.
- Specified by:
- getDomConfig in interface org.w3c.dom.Document
- Overrides:
- getDomConfig in interface CoreDocumentImpl
- Since:
- DOM Level 3
public org.w3c.dom.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.
- Specified by:
- getImplementation in interface org.w3c.dom.Document
- Overrides:
- getImplementation in interface DocumentImpl