public class SOAPDocument extends org.apache.xerces.dom.DocumentImpl implements Document
SOAPDocument
ensures that the propper SAAJ elements are
returned when Document calls are made from a DOM client. This implementation
enscapsulates a single ThreadLocal Document object.eventListeners, iteratorReferenceQueue, iterators, mutationEvents, rangeReferenceQueue, ranges
actualEncoding, allowGrammarAccess, changes, docElement, docType, encoding, errorChecking, fDocumentURI, identifiers, standalone, userData, version, xmlVersionChanged
firstChild, fNodeListCache, ownerDocument
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
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 and Description |
---|
SOAPDocument() |
addEventListener, copyEventListeners, createEvent, createNodeIterator, createNodeIterator, createRange, createTreeWalker, createTreeWalker, dispatchAggregateEvents, dispatchAggregateEvents, dispatchEvent, dispatchEventToSubtree, dispatchingEventToSubtree, getEventListeners, removeEventListener, saveEnclosingAttr, setEventListeners
abort, callUserDataHandlers, canRenameElements, changed, changes, checkDOMNSErr, checkNamespaceWF, checkQName, clearIdentifiers, clone, cloneNode, createAttributeNS, createDocumentType, createElementDefinition, createElementNS, createEntity, createNotation, getAsync, getEncoding, getErrorChecking, getIdentifier, getIdentifiers, getNodeNumber, getNodeNumber, getOwnerDocument, getStandalone, getUserData, getUserData, getUserDataRecord, getVersion, isKidOK, isValidQName, isXMLName, load, loadXML, putIdentifier, removeIdentifier, saveXML, setAsync, setEncoding, setErrorChecking, setInputEncoding, setStandalone, setUserData, setUserData, setVersion, setXmlEncoding, undeferChildren
getChildNodesUnoptimized, getLength, item, setOwnerDocument, setReadOnly, synchronizeChildren
addEventListener, compareTreePosition, dispatchEvent, getContainer, getReadOnly, getUserData, getUserDataRecord, needsSyncChildren, removeEventListener, setUserData, synchronizeData, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getOwnerDocument
public DocumentType getDoctype()
getDoctype
in interface Document
getDoctype
in class org.apache.xerces.dom.CoreDocumentImpl
public DOMImplementation getImplementation()
getImplementation
in interface Document
getImplementation
in class org.apache.xerces.dom.DocumentImpl
public Element getDocumentElement()
getDocumentElement
in interface Document
getDocumentElement
in class org.apache.xerces.dom.CoreDocumentImpl
public Element createElement(String tagName) throws DOMException
createElement
in interface Document
createElement
in class org.apache.xerces.dom.CoreDocumentImpl
DOMException
public DocumentFragment createDocumentFragment()
createDocumentFragment
in interface Document
createDocumentFragment
in class org.apache.xerces.dom.CoreDocumentImpl
public Text createTextNode(String data)
createTextNode
in interface Document
createTextNode
in class org.apache.xerces.dom.CoreDocumentImpl
public Comment createComment(String data)
createComment
in interface Document
createComment
in class org.apache.xerces.dom.CoreDocumentImpl
public CDATASection createCDATASection(String data) throws DOMException
createCDATASection
in interface Document
createCDATASection
in class org.apache.xerces.dom.CoreDocumentImpl
DOMException
public ProcessingInstruction createProcessingInstruction(String target, String data) throws DOMException
createProcessingInstruction
in interface Document
createProcessingInstruction
in class org.apache.xerces.dom.CoreDocumentImpl
DOMException
public Attr createAttribute(String name) throws DOMException
createAttribute
in interface Document
createAttribute
in class org.apache.xerces.dom.CoreDocumentImpl
DOMException
public EntityReference createEntityReference(String name) throws DOMException
createEntityReference
in interface Document
createEntityReference
in class org.apache.xerces.dom.CoreDocumentImpl
DOMException
public NodeList getElementsByTagName(String tagname)
getElementsByTagName
in interface Document
getElementsByTagName
in class org.apache.xerces.dom.CoreDocumentImpl
public Node importNode(Node importedNode, boolean deep) throws DOMException
importNode
in interface Document
importNode
in class org.apache.xerces.dom.CoreDocumentImpl
DOMException
public Element createElementNS(String namespaceURI, String qualifiedName) throws DOMException
createElementNS
in interface Document
createElementNS
in class org.apache.xerces.dom.CoreDocumentImpl
DOMException
public Attr createAttributeNS(String namespaceURI, String qualifiedName) throws DOMException
createAttributeNS
in interface Document
createAttributeNS
in class org.apache.xerces.dom.CoreDocumentImpl
DOMException
public NodeList getElementsByTagNameNS(String namespaceURI, String localName)
getElementsByTagNameNS
in interface Document
getElementsByTagNameNS
in class org.apache.xerces.dom.CoreDocumentImpl
public String getNodeName()
getNodeName
in interface Node
getNodeName
in class org.apache.xerces.dom.CoreDocumentImpl
public String getNodeValue() throws DOMException
getNodeValue
in interface Node
getNodeValue
in class org.apache.xerces.dom.NodeImpl
DOMException
public void setNodeValue(String nodeValue) throws DOMException
setNodeValue
in interface Node
setNodeValue
in class org.apache.xerces.dom.NodeImpl
DOMException
public short getNodeType()
getNodeType
in interface Node
getNodeType
in class org.apache.xerces.dom.CoreDocumentImpl
public Node getParentNode()
getParentNode
in interface Node
getParentNode
in class org.apache.xerces.dom.ChildNode
public NodeList getChildNodes()
getChildNodes
in interface Node
getChildNodes
in class org.apache.xerces.dom.ParentNode
public Node getFirstChild()
getFirstChild
in interface Node
getFirstChild
in class org.apache.xerces.dom.ParentNode
public Node getLastChild()
getLastChild
in interface Node
getLastChild
in class org.apache.xerces.dom.ParentNode
public Node getPreviousSibling()
getPreviousSibling
in interface Node
getPreviousSibling
in class org.apache.xerces.dom.ChildNode
public Node getNextSibling()
getNextSibling
in interface Node
getNextSibling
in class org.apache.xerces.dom.ChildNode
public NamedNodeMap getAttributes()
getAttributes
in interface Node
getAttributes
in class org.apache.xerces.dom.NodeImpl
public Node insertBefore(Node newChild, Node refChild) throws DOMException
insertBefore
in interface Node
insertBefore
in class org.apache.xerces.dom.CoreDocumentImpl
DOMException
public Node replaceChild(Node newChild, Node oldChild) throws DOMException
replaceChild
in interface Node
replaceChild
in class org.apache.xerces.dom.CoreDocumentImpl
DOMException
public Node removeChild(Node oldChild) throws DOMException
removeChild
in interface Node
removeChild
in class org.apache.xerces.dom.CoreDocumentImpl
DOMException
public Node appendChild(Node newChild) throws DOMException
appendChild
in interface Node
appendChild
in class org.apache.xerces.dom.NodeImpl
DOMException
public boolean hasChildNodes()
hasChildNodes
in interface Node
hasChildNodes
in class org.apache.xerces.dom.ParentNode
public Node cloneNode(boolean deep)
public void normalize()
public boolean isSupported(String feature, String version)
isSupported
in interface Node
isSupported
in class org.apache.xerces.dom.NodeImpl
public String getNamespaceURI()
getNamespaceURI
in interface Node
getNamespaceURI
in class org.apache.xerces.dom.NodeImpl
public String getPrefix()
public void setPrefix(String prefix) throws DOMException
setPrefix
in interface Node
setPrefix
in class org.apache.xerces.dom.NodeImpl
DOMException
public String getLocalName()
getLocalName
in interface Node
getLocalName
in class org.apache.xerces.dom.NodeImpl
public boolean hasAttributes()
hasAttributes
in interface Node
hasAttributes
in class org.apache.xerces.dom.NodeImpl
public String getInputEncoding()
getInputEncoding
in interface Document
getInputEncoding
in class org.apache.xerces.dom.CoreDocumentImpl
public String getXmlEncoding()
getXmlEncoding
in interface Document
getXmlEncoding
in class org.apache.xerces.dom.CoreDocumentImpl
public boolean getXmlStandalone()
getXmlStandalone
in interface Document
getXmlStandalone
in class org.apache.xerces.dom.CoreDocumentImpl
public void setXmlStandalone(boolean xmlStandalone) throws DOMException
setXmlStandalone
in interface Document
setXmlStandalone
in class org.apache.xerces.dom.CoreDocumentImpl
DOMException
public String getXmlVersion()
getXmlVersion
in interface Document
getXmlVersion
in class org.apache.xerces.dom.CoreDocumentImpl
public void setXmlVersion(String xmlVersion) throws DOMException
setXmlVersion
in interface Document
setXmlVersion
in class org.apache.xerces.dom.CoreDocumentImpl
DOMException
public boolean getStrictErrorChecking()
getStrictErrorChecking
in interface Document
getStrictErrorChecking
in class org.apache.xerces.dom.CoreDocumentImpl
public void setStrictErrorChecking(boolean strictErrorChecking)
setStrictErrorChecking
in interface Document
setStrictErrorChecking
in class org.apache.xerces.dom.CoreDocumentImpl
public String getDocumentURI()
getDocumentURI
in interface Document
getDocumentURI
in class org.apache.xerces.dom.CoreDocumentImpl
public void setDocumentURI(String documentURI)
setDocumentURI
in interface Document
setDocumentURI
in class org.apache.xerces.dom.CoreDocumentImpl
public Node adoptNode(Node source) throws DOMException
adoptNode
in interface Document
adoptNode
in class org.apache.xerces.dom.CoreDocumentImpl
DOMException
public DOMConfiguration getDomConfig()
getDomConfig
in interface Document
getDomConfig
in class org.apache.xerces.dom.CoreDocumentImpl
public void normalizeDocument()
normalizeDocument
in interface Document
normalizeDocument
in class org.apache.xerces.dom.CoreDocumentImpl
public Node renameNode(Node n, String namespaceURI, String qualifiedName) throws DOMException
renameNode
in interface Document
renameNode
in class org.apache.xerces.dom.CoreDocumentImpl
DOMException
public String getBaseURI()
getBaseURI
in interface Node
getBaseURI
in class org.apache.xerces.dom.CoreDocumentImpl
public short compareDocumentPosition(Node other) throws DOMException
compareDocumentPosition
in interface Node
compareDocumentPosition
in class org.apache.xerces.dom.NodeImpl
DOMException
public String getTextContent() throws DOMException
getTextContent
in interface Node
getTextContent
in class org.apache.xerces.dom.CoreDocumentImpl
DOMException
public void setTextContent(String textContent) throws DOMException
setTextContent
in interface Node
setTextContent
in class org.apache.xerces.dom.CoreDocumentImpl
DOMException
public boolean isSameNode(Node other)
isSameNode
in interface Node
isSameNode
in class org.apache.xerces.dom.NodeImpl
public String lookupPrefix(String namespaceURI)
lookupPrefix
in interface Node
lookupPrefix
in class org.apache.xerces.dom.NodeImpl
public boolean isDefaultNamespace(String namespaceURI)
isDefaultNamespace
in interface Node
isDefaultNamespace
in class org.apache.xerces.dom.NodeImpl
public String lookupNamespaceURI(String prefix)
lookupNamespaceURI
in interface Node
lookupNamespaceURI
in class org.apache.xerces.dom.NodeImpl
public boolean isEqualNode(Node arg)
isEqualNode
in interface Node
isEqualNode
in class org.apache.xerces.dom.ParentNode
public Object getFeature(String feature, String version)
getFeature
in interface Node
getFeature
in class org.apache.xerces.dom.CoreDocumentImpl
public Object setUserData(String key, Object data, UserDataHandler handler)
setUserData
in interface Node
setUserData
in class org.apache.xerces.dom.NodeImpl
public Object getUserData(String arg0)
getUserData
in interface Node
getUserData
in class org.apache.xerces.dom.NodeImpl
public Element getElementById(String elementId)
getElementById
in interface Document
getElementById
in class org.apache.xerces.dom.CoreDocumentImpl
Copyright © 2012 JBoss, by Red Hat. All Rights Reserved.