Methods Summary |
---|
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.
PSVIDocumentImpl newdoc = new PSVIDocumentImpl();
callUserDataHandlers(this, newdoc, UserDataHandler.NODE_CLONED);
cloneNode(newdoc, deep);
// experimental
newdoc.mutationEvents = mutationEvents;
return newdoc;
|
public org.w3c.dom.Attr | createAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName)Create an attribute with PSVI information
return new PSVIAttrNSImpl(this, namespaceURI, qualifiedName);
|
public org.w3c.dom.Attr | createAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName, java.lang.String localName)Create an attribute with PSVI information
return new PSVIAttrNSImpl(this, namespaceURI, qualifiedName, localName);
|
public org.w3c.dom.Element | createElementNS(java.lang.String namespaceURI, java.lang.String qualifiedName)Create an element with PSVI information
return new PSVIElementNSImpl(this, namespaceURI, qualifiedName);
|
public org.w3c.dom.Element | createElementNS(java.lang.String namespaceURI, java.lang.String qualifiedName, java.lang.String localpart)Create an element with PSVI information
return new PSVIElementNSImpl(this, namespaceURI, qualifiedName, localpart);
|
public org.w3c.dom.DOMConfiguration | getDomConfig()The configuration used when Document.normalizeDocument is
invoked.
super.getDomConfig();
return fConfiguration;
|
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.
// Currently implemented as a singleton, since it's hardcoded
// information anyway.
return PSVIDOMImplementationImpl.getDOMImplementation();
|
private void | readObject(java.io.ObjectInputStream in)
throw new NotSerializableException(getClass().getName());
|
private void | writeObject(java.io.ObjectOutputStream out)
throw new NotSerializableException(getClass().getName());
|