public class ElementImpl extends com.sun.org.apache.xerces.internal.dom.ElementNSImpl implements javax.xml.soap.SOAPElement, javax.xml.soap.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,
javax.xml.soap.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, javax.xml.soap.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 javax.xml.soap.SOAPElement addChildElement(javax.xml.soap.Name name) throws javax.xml.soap.SOAPException
addChildElement
in interface javax.xml.soap.SOAPElement
javax.xml.soap.SOAPException
public javax.xml.soap.SOAPElement addChildElement(QName qname) throws javax.xml.soap.SOAPException
addChildElement
in interface javax.xml.soap.SOAPElement
javax.xml.soap.SOAPException
public javax.xml.soap.SOAPElement addChildElement(String localName) throws javax.xml.soap.SOAPException
addChildElement
in interface javax.xml.soap.SOAPElement
javax.xml.soap.SOAPException
public javax.xml.soap.SOAPElement addChildElement(String localName, String prefix) throws javax.xml.soap.SOAPException
addChildElement
in interface javax.xml.soap.SOAPElement
javax.xml.soap.SOAPException
public String getNamespaceURI(String prefix)
getNamespaceURI
in interface javax.xml.soap.SOAPElement
public javax.xml.soap.SOAPElement setElementQName(QName newName) throws javax.xml.soap.SOAPException
setElementQName
in interface javax.xml.soap.SOAPElement
javax.xml.soap.SOAPException
public QName createQName(String localName, String prefix) throws javax.xml.soap.SOAPException
createQName
in interface javax.xml.soap.SOAPElement
javax.xml.soap.SOAPException
public NamespaceContextIterator getNamespaceContextNodes()
public NamespaceContextIterator getNamespaceContextNodes(boolean traverseStack)
public javax.xml.soap.SOAPElement addChildElement(String localName, String prefix, String uri) throws javax.xml.soap.SOAPException
addChildElement
in interface javax.xml.soap.SOAPElement
javax.xml.soap.SOAPException
public javax.xml.soap.SOAPElement addChildElement(javax.xml.soap.SOAPElement element) throws javax.xml.soap.SOAPException
addChildElement
in interface javax.xml.soap.SOAPElement
javax.xml.soap.SOAPException
protected javax.xml.soap.SOAPElement addElement(javax.xml.soap.Name name) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
protected javax.xml.soap.SOAPElement addElement(QName name) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
protected javax.xml.soap.SOAPElement createElement(javax.xml.soap.Name name)
protected javax.xml.soap.SOAPElement createElement(QName name)
protected void addNode(Node newElement) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
protected javax.xml.soap.SOAPElement findChild(NameImpl name)
public javax.xml.soap.SOAPElement addTextNode(String text) throws javax.xml.soap.SOAPException
addTextNode
in interface javax.xml.soap.SOAPElement
javax.xml.soap.SOAPException
protected javax.xml.soap.SOAPElement addCDATA(String text) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
protected javax.xml.soap.SOAPElement addText(String text) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
public javax.xml.soap.SOAPElement addAttribute(javax.xml.soap.Name name, String value) throws javax.xml.soap.SOAPException
addAttribute
in interface javax.xml.soap.SOAPElement
javax.xml.soap.SOAPException
public javax.xml.soap.SOAPElement addAttribute(QName qname, String value) throws javax.xml.soap.SOAPException
addAttribute
in interface javax.xml.soap.SOAPElement
javax.xml.soap.SOAPException
public javax.xml.soap.SOAPElement addNamespaceDeclaration(String prefix, String uri) throws javax.xml.soap.SOAPException
addNamespaceDeclaration
in interface javax.xml.soap.SOAPElement
javax.xml.soap.SOAPException
public String getAttributeValue(javax.xml.soap.Name name)
getAttributeValue
in interface javax.xml.soap.SOAPElement
public String getAttributeValue(QName qname)
getAttributeValue
in interface javax.xml.soap.SOAPElement
public Iterator getAllAttributes()
getAllAttributes
in interface javax.xml.soap.SOAPElement
public Iterator getAllAttributesAsQNames()
getAllAttributesAsQNames
in interface javax.xml.soap.SOAPElement
public Iterator getNamespacePrefixes()
getNamespacePrefixes
in interface javax.xml.soap.SOAPElement
public Iterator getVisibleNamespacePrefixes()
getVisibleNamespacePrefixes
in interface javax.xml.soap.SOAPElement
protected Iterator doGetNamespacePrefixes(boolean deep)
public javax.xml.soap.Name getElementName()
getElementName
in interface javax.xml.soap.SOAPElement
public QName getElementQName()
getElementQName
in interface javax.xml.soap.SOAPElement
public boolean removeAttribute(javax.xml.soap.Name name)
removeAttribute
in interface javax.xml.soap.SOAPElement
public boolean removeAttribute(QName name)
removeAttribute
in interface javax.xml.soap.SOAPElement
public boolean removeNamespaceDeclaration(String prefix)
removeNamespaceDeclaration
in interface javax.xml.soap.SOAPElement
public Iterator getChildElements()
getChildElements
in interface javax.xml.soap.SOAPElement
protected javax.xml.soap.SOAPElement convertToSoapElement(Element element)
protected static javax.xml.soap.SOAPElement replaceElementWithSOAPElement(Element element, ElementImpl copy)
protected Iterator getChildElementNodes()
public Iterator getChildElements(javax.xml.soap.Name name)
getChildElements
in interface javax.xml.soap.SOAPElement
public Iterator getChildElements(QName qname)
getChildElements
in interface javax.xml.soap.SOAPElement
public void removeContents()
removeContents
in interface javax.xml.soap.SOAPElement
public void setEncodingStyle(String encodingStyle) throws javax.xml.soap.SOAPException
setEncodingStyle
in interface javax.xml.soap.SOAPElement
javax.xml.soap.SOAPException
public String getEncodingStyle()
getEncodingStyle
in interface javax.xml.soap.SOAPElement
public String getValue()
public void setValue(String value)
protected Node getValueNodeStrict()
protected javax.xml.soap.Node getValueNode()
public void setParentElement(javax.xml.soap.SOAPElement element) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
protected void findEncodingStyleAttributeName() throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
protected void setEncodingStyleNamespace(String soapNamespace, String soapNamespacePrefix) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
public javax.xml.soap.SOAPElement getParentElement()
protected String getSOAPNamespace()
public void detachNode()
public void tryToFindEncodingStyleAttributeName()
public void recycleNode()
protected static String getAttributeValueFrom(Element element, javax.xml.soap.Name name)
protected boolean isNamespaceQualified(javax.xml.soap.Name name)
protected boolean isNamespaceQualified(QName name)
protected javax.xml.soap.SOAPElement circumventBug5034339(javax.xml.soap.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 © 2014 Oracle. All rights reserved.