| Method from com.sun.org.apache.xerces.internal.dom.PSVIDocumentImpl Detail: |
public Node cloneNode(boolean deep) {
PSVIDocumentImpl newdoc = new PSVIDocumentImpl();
callUserDataHandlers(this, newdoc, UserDataHandler.NODE_CLONED);
cloneNode(newdoc, deep);
// experimental
newdoc.mutationEvents = mutationEvents;
return newdoc;
}
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. |
public Attr createAttributeNS(String namespaceURI,
String qualifiedName) throws DOMException {
return new PSVIAttrNSImpl(this, namespaceURI, qualifiedName);
}
Create an attribute with PSVI information |
public Attr createAttributeNS(String namespaceURI,
String qualifiedName,
String localName) throws DOMException {
return new PSVIAttrNSImpl(this, namespaceURI, qualifiedName, localName);
}
Create an attribute with PSVI information |
public Element createElementNS(String namespaceURI,
String qualifiedName) throws DOMException {
return new PSVIElementNSImpl(this, namespaceURI, qualifiedName);
}
Create an element with PSVI information |
public Element createElementNS(String namespaceURI,
String qualifiedName,
String localpart) throws DOMException {
return new PSVIElementNSImpl(this, namespaceURI, qualifiedName, localpart);
}
Create an element with PSVI information |
public DOMConfiguration getDomConfig() {
super.getDomConfig();
return fConfiguration;
}
The configuration used when Document.normalizeDocument is
invoked. |
public DOMImplementation getImplementation() {
// Currently implemented as a singleton, since it's hardcoded
// information anyway.
return PSVIDOMImplementationImpl.getDOMImplementation();
}
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. |