org.apache.xerces.dom
Class PSVIDocumentImpl
public
class
PSVIDocumentImpl
extends DocumentImpl
Our own document implementation, which knows how to create an element
with PSVI information.
Version: $Id: PSVIDocumentImpl.java,v 1.12 2005/05/02 22:03:58 mrglavas Exp $
Author: Sandy Gao, IBM
UNKNOWN:
Method Summary |
Node | cloneNode(boolean deep)
Deep-clone a document, including fixing ownerDoc for the cloned
children. |
Attr | createAttributeNS(String namespaceURI, String qualifiedName)
Create an attribute with PSVI information |
Attr | createAttributeNS(String namespaceURI, String qualifiedName, String localName)
Create an attribute with PSVI information |
Element | createElementNS(String namespaceURI, String qualifiedName)
Create an element with PSVI information |
Element | createElementNS(String namespaceURI, String qualifiedName, String localpart)
Create an element with PSVI information |
DOMConfiguration | getDomConfig()
The configuration used when Document.normalizeDocument is
invoked. |
DOMImplementation | getImplementation()
Retrieve information describing the abilities of this particular
DOM implementation. |
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.
Parameters: deep boolean, iff true replicate children
Returns: org.w3c.dom.Node
public Attr createAttributeNS(String namespaceURI, String qualifiedName)
Create an attribute with PSVI information
public Attr createAttributeNS(String namespaceURI, String qualifiedName, String localName)
Create an attribute with PSVI information
public Element createElementNS(String namespaceURI, String qualifiedName)
Create an element with PSVI information
public Element createElementNS(String namespaceURI, String qualifiedName, String localpart)
Create an element with PSVI information
public DOMConfiguration getDomConfig()
The configuration used when
Document.normalizeDocument
is
invoked.
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.
Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.