public class ElementImpl extends com.sun.org.apache.xerces.internal.dom.ElementNSImpl implements SOAPElement, SOAPBodyElement
Modifier and Type | Field and Description |
---|---|
static String |
DSIG_NS |
protected QName |
elementQName |
protected static Logger |
log |
static String |
WSU_NS |
static String |
XENC_NS |
static String |
XML_URI
The XML Namespace ("http://www.w3.org/XML/1998/namespace").
|
static String |
XMLNS_URI
XML Information Set REC
all namespace attributes (including those named xmlns,
whose [prefix] property has no value) have a namespace URI of http://www.w3.org/2000/xmlns/
|
localName, namespaceURI
firstChild, fNodeListCache, ownerDocument
nextSibling, previousSibling
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
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
Constructor and Description |
---|
ElementImpl(SOAPDocumentImpl ownerDoc,
Name name) |
ElementImpl(SOAPDocumentImpl ownerDoc,
QName name) |
ElementImpl(SOAPDocumentImpl ownerDoc,
String uri,
String qualifiedName) |
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildren
getNextSibling, getParentNode, getPreviousSibling
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
public static final String DSIG_NS
public static final String XENC_NS
public static final String WSU_NS
protected QName elementQName
protected static final Logger log
public static final String XMLNS_URI
public static final String XML_URI
public ElementImpl(SOAPDocumentImpl ownerDoc, Name name)
public ElementImpl(SOAPDocumentImpl ownerDoc, QName name)
public ElementImpl(SOAPDocumentImpl ownerDoc, String uri, String qualifiedName)
public Document getOwnerDocument()
getOwnerDocument
in interface Node
getOwnerDocument
in class com.sun.org.apache.xerces.internal.dom.ParentNode
public SOAPElement addChildElement(Name name) throws SOAPException
addChildElement
in interface SOAPElement
SOAPException
public SOAPElement addChildElement(QName qname) throws SOAPException
addChildElement
in interface SOAPElement
SOAPException
public SOAPElement addChildElement(String localName) throws SOAPException
addChildElement
in interface SOAPElement
SOAPException
public SOAPElement addChildElement(String localName, String prefix) throws SOAPException
addChildElement
in interface SOAPElement
SOAPException
public String getNamespaceURI(String prefix)
getNamespaceURI
in interface SOAPElement
public SOAPElement setElementQName(QName newName) throws SOAPException
setElementQName
in interface SOAPElement
SOAPException
public QName createQName(String localName, String prefix) throws SOAPException
createQName
in interface SOAPElement
SOAPException
public NamespaceContextIterator getNamespaceContextNodes()
public NamespaceContextIterator getNamespaceContextNodes(boolean traverseStack)
public SOAPElement addChildElement(String localName, String prefix, String uri) throws SOAPException
addChildElement
in interface SOAPElement
SOAPException
public SOAPElement addChildElement(SOAPElement element) throws SOAPException
addChildElement
in interface SOAPElement
SOAPException
protected SOAPElement addElement(Name name) throws SOAPException
SOAPException
protected SOAPElement addElement(QName name) throws SOAPException
SOAPException
protected SOAPElement createElement(Name name)
protected SOAPElement createElement(QName name)
protected void addNode(Node newElement) throws SOAPException
SOAPException
protected SOAPElement findChild(NameImpl name)
public SOAPElement addTextNode(String text) throws SOAPException
addTextNode
in interface SOAPElement
SOAPException
protected SOAPElement addCDATA(String text) throws SOAPException
SOAPException
protected SOAPElement addText(String text) throws SOAPException
SOAPException
public SOAPElement addAttribute(Name name, String value) throws SOAPException
addAttribute
in interface SOAPElement
SOAPException
public SOAPElement addAttribute(QName qname, String value) throws SOAPException
addAttribute
in interface SOAPElement
SOAPException
public SOAPElement addNamespaceDeclaration(String prefix, String uri) throws SOAPException
addNamespaceDeclaration
in interface SOAPElement
SOAPException
public String getAttributeValue(Name name)
getAttributeValue
in interface SOAPElement
public String getAttributeValue(QName qname)
getAttributeValue
in interface SOAPElement
public Iterator getAllAttributes()
getAllAttributes
in interface SOAPElement
public Iterator getAllAttributesAsQNames()
getAllAttributesAsQNames
in interface SOAPElement
public Iterator getNamespacePrefixes()
getNamespacePrefixes
in interface SOAPElement
public Iterator getVisibleNamespacePrefixes()
getVisibleNamespacePrefixes
in interface SOAPElement
protected Iterator doGetNamespacePrefixes(boolean deep)
public Name getElementName()
getElementName
in interface SOAPElement
public QName getElementQName()
getElementQName
in interface SOAPElement
public boolean removeAttribute(Name name)
removeAttribute
in interface SOAPElement
public boolean removeAttribute(QName name)
removeAttribute
in interface SOAPElement
public boolean removeNamespaceDeclaration(String prefix)
removeNamespaceDeclaration
in interface SOAPElement
public Iterator getChildElements()
getChildElements
in interface SOAPElement
protected SOAPElement convertToSoapElement(Element element)
protected static SOAPElement replaceElementWithSOAPElement(Element element, ElementImpl copy)
protected Iterator getChildElementNodes()
public Iterator getChildElements(Name name)
getChildElements
in interface SOAPElement
public Iterator getChildElements(QName qname)
getChildElements
in interface SOAPElement
public void removeContents()
removeContents
in interface SOAPElement
public void setEncodingStyle(String encodingStyle) throws SOAPException
setEncodingStyle
in interface SOAPElement
SOAPException
public String getEncodingStyle()
getEncodingStyle
in interface SOAPElement
public String getValue()
public void setValue(String value)
protected Node getValueNodeStrict()
protected Node getValueNode()
public void setParentElement(SOAPElement element) throws SOAPException
SOAPException
protected void findEncodingStyleAttributeName() throws SOAPException
SOAPException
protected void setEncodingStyleNamespace(String soapNamespace, String soapNamespacePrefix) throws SOAPException
SOAPException
public SOAPElement getParentElement()
protected String getSOAPNamespace()
public void detachNode()
public void tryToFindEncodingStyleAttributeName()
public void recycleNode()
protected boolean isNamespaceQualified(Name name)
protected boolean isNamespaceQualified(QName name)
protected SOAPElement circumventBug5034339(SOAPElement element)
public void setAttributeNS(String namespaceURI, String qualifiedName, String value)
setAttributeNS
in interface Element
setAttributeNS
in class com.sun.org.apache.xerces.internal.dom.ElementImpl
Copyright © 2017 Oracle. All rights reserved.