com.sun.xml.messaging.saaj.soap
Class SOAPDocumentImpl

java.lang.Object
  extended by com.sun.org.apache.xerces.internal.dom.NodeImpl
      extended by com.sun.org.apache.xerces.internal.dom.ChildNode
          extended by com.sun.org.apache.xerces.internal.dom.ParentNode
              extended by com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl
                  extended by com.sun.org.apache.xerces.internal.dom.DocumentImpl
                      extended by com.sun.xml.messaging.saaj.soap.SOAPDocumentImpl
All Implemented Interfaces:
SOAPDocument, java.io.Serializable, java.lang.Cloneable, org.w3c.dom.Document, org.w3c.dom.events.DocumentEvent, org.w3c.dom.events.EventTarget, org.w3c.dom.Node, org.w3c.dom.NodeList, org.w3c.dom.ranges.DocumentRange, org.w3c.dom.traversal.DocumentTraversal

public class SOAPDocumentImpl
extends com.sun.org.apache.xerces.internal.dom.DocumentImpl
implements SOAPDocument

See Also:
Serialized Form

Field Summary
protected static java.util.logging.Logger log
           
 
Fields inherited from class com.sun.org.apache.xerces.internal.dom.DocumentImpl
eventListeners, iterators, mutationEvents, ranges
 
Fields inherited from class com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl
actualEncoding, allowGrammarAccess, changes, docElement, docType, encoding, errorChecking, fDocumentURI, identifiers, standalone, userData, version, xmlVersionChanged
 
Fields inherited from class com.sun.org.apache.xerces.internal.dom.ParentNode
firstChild, fNodeListCache, ownerDocument
 
Fields inherited from class com.sun.org.apache.xerces.internal.dom.ChildNode
nextSibling, previousSibling
 
Fields inherited from class com.sun.org.apache.xerces.internal.dom.NodeImpl
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
SOAPDocumentImpl(SOAPPartImpl enclosingDocument)
           
 
Method Summary
 org.w3c.dom.Node cloneNode(boolean deep)
           
 void cloneNode(SOAPDocumentImpl newdoc, boolean deep)
           
 org.w3c.dom.Attr createAttribute(java.lang.String name)
           
 org.w3c.dom.Attr createAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName)
           
 org.w3c.dom.CDATASection createCDATASection(java.lang.String data)
           
 org.w3c.dom.Comment createComment(java.lang.String data)
           
 org.w3c.dom.DocumentFragment createDocumentFragment()
           
 org.w3c.dom.Element createElement(java.lang.String tagName)
           
 org.w3c.dom.Element createElementNS(java.lang.String namespaceURI, java.lang.String qualifiedName)
           
 org.w3c.dom.EntityReference createEntityReference(java.lang.String name)
           
 org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String target, java.lang.String data)
           
 org.w3c.dom.Text createTextNode(java.lang.String data)
           
protected  org.w3c.dom.Element doGetDocumentElement()
           
 org.w3c.dom.DocumentType getDoctype()
           
 SOAPDocumentImpl getDocument()
           
 org.w3c.dom.Element getDocumentElement()
           
 org.w3c.dom.Element getElementById(java.lang.String elementId)
           
 org.w3c.dom.NodeList getElementsByTagName(java.lang.String tagname)
           
 org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String namespaceURI, java.lang.String localName)
           
 org.w3c.dom.DOMImplementation getImplementation()
           
 SOAPPartImpl getSOAPPart()
           
 org.w3c.dom.Node importNode(org.w3c.dom.Node importedNode, boolean deep)
           
 
Methods inherited from class com.sun.org.apache.xerces.internal.dom.DocumentImpl
addEventListener, copyEventListeners, createEvent, createNodeIterator, createNodeIterator, createRange, createTreeWalker, createTreeWalker, dispatchAggregateEvents, dispatchAggregateEvents, dispatchEvent, dispatchEventToSubtree, dispatchingEventToSubtree, getEventListeners, removeEventListener, saveEnclosingAttr, setEventListeners
 
Methods inherited from class com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl
abort, adoptNode, changed, changes, checkDOMNSErr, checkNamespaceWF, checkQName, clearIdentifiers, clone, cloneNode, createAttributeNS, createDocumentType, createElementDefinition, createElementNS, createEntity, createNotation, getAsync, getBaseURI, getDocumentURI, getDomConfig, getEncoding, getErrorChecking, getFeature, getIdentifier, getIdentifiers, getInputEncoding, getNodeName, getNodeNumber, getNodeNumber, getNodeType, getOwnerDocument, getStandalone, getStrictErrorChecking, getTextContent, getUserData, getUserData, getUserDataRecord, getVersion, getXmlEncoding, getXmlStandalone, getXmlVersion, insertBefore, isKidOK, isValidQName, isXMLName, load, loadXML, normalizeDocument, putIdentifier, removeChild, removeIdentifier, renameNode, replaceChild, saveXML, setAsync, setDocumentURI, setEncoding, setErrorChecking, setInputEncoding, setStandalone, setStrictErrorChecking, setTextContent, setUserData, setUserData, setVersion, setXmlEncoding, setXmlStandalone, setXmlVersion, undeferChildren
 
Methods inherited from class com.sun.org.apache.xerces.internal.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, hasChildNodes, isEqualNode, item, normalize, setReadOnly, synchronizeChildren
 
Methods inherited from class com.sun.org.apache.xerces.internal.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling
 
Methods inherited from class com.sun.org.apache.xerces.internal.dom.NodeImpl
addEventListener, appendChild, compareDocumentPosition, compareTreePosition, dispatchEvent, getAttributes, getContainer, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getUserData, getUserData, getUserDataRecord, hasAttributes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setPrefix, setUserData, setUserData, synchronizeData, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Node
appendChild, compareDocumentPosition, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getParentNode, getPrefix, getPreviousSibling, getUserData, hasAttributes, hasChildNodes, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, setNodeValue, setPrefix, setUserData
 

Field Detail

log

protected static final java.util.logging.Logger log
Constructor Detail

SOAPDocumentImpl

public SOAPDocumentImpl(SOAPPartImpl enclosingDocument)
Method Detail

getSOAPPart

public SOAPPartImpl getSOAPPart()
Specified by:
getSOAPPart in interface SOAPDocument

getDocument

public SOAPDocumentImpl getDocument()
Specified by:
getDocument in interface SOAPDocument

getDoctype

public org.w3c.dom.DocumentType getDoctype()
Specified by:
getDoctype in interface org.w3c.dom.Document
Overrides:
getDoctype in class com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl

getImplementation

public org.w3c.dom.DOMImplementation getImplementation()
Specified by:
getImplementation in interface org.w3c.dom.Document
Overrides:
getImplementation in class com.sun.org.apache.xerces.internal.dom.DocumentImpl

getDocumentElement

public org.w3c.dom.Element getDocumentElement()
Specified by:
getDocumentElement in interface org.w3c.dom.Document
Overrides:
getDocumentElement in class com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl

doGetDocumentElement

protected org.w3c.dom.Element doGetDocumentElement()

createElement

public org.w3c.dom.Element createElement(java.lang.String tagName)
                                  throws org.w3c.dom.DOMException
Specified by:
createElement in interface org.w3c.dom.Document
Overrides:
createElement in class com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl
Throws:
org.w3c.dom.DOMException

createDocumentFragment

public org.w3c.dom.DocumentFragment createDocumentFragment()
Specified by:
createDocumentFragment in interface org.w3c.dom.Document
Overrides:
createDocumentFragment in class com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl

createTextNode

public org.w3c.dom.Text createTextNode(java.lang.String data)
Specified by:
createTextNode in interface org.w3c.dom.Document
Overrides:
createTextNode in class com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl

createComment

public org.w3c.dom.Comment createComment(java.lang.String data)
Specified by:
createComment in interface org.w3c.dom.Document
Overrides:
createComment in class com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl

createCDATASection

public org.w3c.dom.CDATASection createCDATASection(java.lang.String data)
                                            throws org.w3c.dom.DOMException
Specified by:
createCDATASection in interface org.w3c.dom.Document
Overrides:
createCDATASection in class com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl
Throws:
org.w3c.dom.DOMException

createProcessingInstruction

public org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String target,
                                                                     java.lang.String data)
                                                              throws org.w3c.dom.DOMException
Specified by:
createProcessingInstruction in interface org.w3c.dom.Document
Overrides:
createProcessingInstruction in class com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl
Throws:
org.w3c.dom.DOMException

createAttribute

public org.w3c.dom.Attr createAttribute(java.lang.String name)
                                 throws org.w3c.dom.DOMException
Specified by:
createAttribute in interface org.w3c.dom.Document
Overrides:
createAttribute in class com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl
Throws:
org.w3c.dom.DOMException

createEntityReference

public org.w3c.dom.EntityReference createEntityReference(java.lang.String name)
                                                  throws org.w3c.dom.DOMException
Specified by:
createEntityReference in interface org.w3c.dom.Document
Overrides:
createEntityReference in class com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl
Throws:
org.w3c.dom.DOMException

getElementsByTagName

public org.w3c.dom.NodeList getElementsByTagName(java.lang.String tagname)
Specified by:
getElementsByTagName in interface org.w3c.dom.Document
Overrides:
getElementsByTagName in class com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl

importNode

public org.w3c.dom.Node importNode(org.w3c.dom.Node importedNode,
                                   boolean deep)
                            throws org.w3c.dom.DOMException
Specified by:
importNode in interface org.w3c.dom.Document
Overrides:
importNode in class com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl
Throws:
org.w3c.dom.DOMException

createElementNS

public org.w3c.dom.Element createElementNS(java.lang.String namespaceURI,
                                           java.lang.String qualifiedName)
                                    throws org.w3c.dom.DOMException
Specified by:
createElementNS in interface org.w3c.dom.Document
Overrides:
createElementNS in class com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl
Throws:
org.w3c.dom.DOMException

createAttributeNS

public org.w3c.dom.Attr createAttributeNS(java.lang.String namespaceURI,
                                          java.lang.String qualifiedName)
                                   throws org.w3c.dom.DOMException
Specified by:
createAttributeNS in interface org.w3c.dom.Document
Overrides:
createAttributeNS in class com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl
Throws:
org.w3c.dom.DOMException

getElementsByTagNameNS

public org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String namespaceURI,
                                                   java.lang.String localName)
Specified by:
getElementsByTagNameNS in interface org.w3c.dom.Document
Overrides:
getElementsByTagNameNS in class com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl

getElementById

public org.w3c.dom.Element getElementById(java.lang.String elementId)
Specified by:
getElementById in interface org.w3c.dom.Document
Overrides:
getElementById in class com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl

cloneNode

public org.w3c.dom.Node cloneNode(boolean deep)
Specified by:
cloneNode in interface org.w3c.dom.Node
Overrides:
cloneNode in class com.sun.org.apache.xerces.internal.dom.DocumentImpl

cloneNode

public void cloneNode(SOAPDocumentImpl newdoc,
                      boolean deep)