Class ElementImpl
java.lang.Object
com.sun.xml.messaging.saaj.soap.impl.ElementImpl
- All Implemented Interfaces:
Node,SOAPBodyElement,SOAPElement,Element,Node
- Direct Known Subclasses:
BodyElementImpl,BodyImpl,DetailEntryImpl,EnvelopeImpl,FaultElementImpl,FaultImpl,HeaderElementImpl,HeaderImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected QNamestatic final Stringstatic final StringFields 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
ConstructorsConstructorDescriptionElementImpl(SOAPDocumentImpl ownerDoc, Name name) ElementImpl(SOAPDocumentImpl ownerDoc, String uri, String qualifiedName) ElementImpl(SOAPDocumentImpl ownerDoc, QName name) ElementImpl(SOAPDocumentImpl ownerDoc, Element domElement) -
Method Summary
Modifier and TypeMethodDescriptionaddAttribute(Name name, String value) addAttribute(QName qname, String value) protected SOAPElementaddChildElement(Name name) addChildElement(SOAPElement element) addChildElement(String localName) addChildElement(String localName, String prefix) addChildElement(String localName, String prefix, String uri) addChildElement(QName qname) protected SOAPElementaddElement(Name name) protected SOAPElementaddElement(QName name) addNamespaceDeclaration(String prefix, String uri) protected voidprotected SOAPElementaddTextNode(String text) appendChild(Node newChild) cloneNode(boolean deep) shortcompareDocumentPosition(Node other) protected SOAPElementconvertToSoapElement(Element element) protected TextImplconvertToSoapText(CharacterData characterData) protected SOAPElementcreateElement(Name name) protected SOAPElementcreateElement(QName name) createQName(String localName, String prefix) voiddoGetNamespacePrefixes(boolean deep) voidensureNamespaceIsDeclared(String prefix, String uri) protected SOAPElementprotected SOAPElementprotected voidgetAllAttributesFrom(Element element) getAttribute(String name) getAttributeNode(String name) getAttributeNodeNS(String namespaceURI, String localName) getAttributeNS(String namespaceURI, String localName) getAttributeValue(Name name) getAttributeValue(QName qname) protected static StringgetAttributeValueFrom(Element element, Name name) getChildElements(Name name) getChildElements(QName qname) getChildElementsFrom(Element element) getElementsByTagName(String name) getElementsByTagNameNS(String namespaceURI, String localName) getFeature(String feature, String version) static StringgetLocalPart(String qualifiedName) protected AttrgetNamespaceAttr(String prefix) protected static AttrgetNamespaceAttrFrom(Element element, String prefix) getNamespaceContextNodes(boolean traverseStack) getNamespacePrefix(String uri) getNamespaceURI(String prefix) shortstatic Stringstatic StringgetQualifiedName(QName name) protected StringgetUserData(String key) getValue()protected Nodeprotected NodebooleanhasAttribute(String name) booleanhasAttributeNS(String namespaceURI, String localName) booleanbooleanprotected ElementimportElement(Element element) insertBefore(Node newChild, Node refChild) booleanisDefaultNamespace(String namespaceURI) booleanisEqualNode(Node arg) protected booleanisNamespaceQualified(Name name) protected booleanisNamespaceQualified(QName name) booleanisSameNode(Node other) booleanisSupported(String feature, String version) lookupNamespaceURI(String prefix) lookupPrefix(String namespaceURI) voidvoidbooleanremoveAttribute(Name name) voidremoveAttribute(String name) booleanremoveAttribute(QName name) removeAttributeNode(Attr oldAttr) voidremoveAttributeNS(String namespaceURI, String localName) removeChild(Node oldChild) voidbooleanremoveNamespaceDeclaration(String prefix) replaceChild(Node newChild, Node oldChild) protected SOAPElementreplaceElementWithSOAPElement(Element element, ElementImpl copy) voidsetAttribute(String name, String value) setAttributeNode(Attr newAttr) setAttributeNodeNS(Attr newAttr) voidsetAttributeNS(String namespaceURI, String qualifiedName, String value) setElementQName(QName newName) voidsetEncodingStyle(String encodingStyle) protected voidsetEncodingStyleNamespace(String soapNamespace, String soapNamespacePrefix) voidsetIdAttribute(String name, boolean isId) voidsetIdAttributeNode(Attr idAttr, boolean isId) voidsetIdAttributeNS(String namespaceURI, String localName, boolean isId) voidsetNodeValue(String nodeValue) voidsetParentElement(SOAPElement element) voidvoidsetTextContent(String textContent) setUserData(String key, Object data, UserDataHandler handler) voidvoid
-
Field Details
-
DSIG_NS
- See Also:
-
XENC_NS
- See Also:
-
WSU_NS
- See Also:
-
elementQName
-
-
Constructor Details
-
ElementImpl
-
ElementImpl
-
ElementImpl
-
ElementImpl
-
-
Method Details
-
getTagName
- Specified by:
getTagNamein interfaceElement
-
getAttribute
- Specified by:
getAttributein interfaceElement
-
setAttribute
- Specified by:
setAttributein interfaceElement- Throws:
DOMException
-
removeAttribute
- Specified by:
removeAttributein interfaceElement- Throws:
DOMException
-
getAttributeNode
- Specified by:
getAttributeNodein interfaceElement
-
setAttributeNode
- Specified by:
setAttributeNodein interfaceElement- Throws:
DOMException
-
removeAttributeNode
- Specified by:
removeAttributeNodein interfaceElement- Throws:
DOMException
-
getElementsByTagName
- Specified by:
getElementsByTagNamein interfaceElement
-
getAttributeNS
- Specified by:
getAttributeNSin interfaceElement- Throws:
DOMException
-
ensureNamespaceIsDeclared
-
getOwnerDocument
- Specified by:
getOwnerDocumentin interfaceNode
-
insertBefore
- Specified by:
insertBeforein interfaceNode- Throws:
DOMException
-
replaceChild
- Specified by:
replaceChildin interfaceNode- Throws:
DOMException
-
removeChild
- Specified by:
removeChildin interfaceNode- Throws:
DOMException
-
appendChild
- Specified by:
appendChildin interfaceNode- Throws:
DOMException
-
hasChildNodes
public boolean hasChildNodes()- Specified by:
hasChildNodesin interfaceNode
-
cloneNode
-
normalize
public void normalize() -
isSupported
- Specified by:
isSupportedin interfaceNode
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceNode
-
getPrefix
-
setPrefix
- Specified by:
setPrefixin interfaceNode- Throws:
DOMException
-
getLocalName
- Specified by:
getLocalNamein interfaceNode
-
hasAttributes
public boolean hasAttributes()- Specified by:
hasAttributesin interfaceNode
-
getBaseURI
- Specified by:
getBaseURIin interfaceNode
-
compareDocumentPosition
- Specified by:
compareDocumentPositionin interfaceNode- Throws:
DOMException
-
getTextContent
- Specified by:
getTextContentin interfaceNode- Throws:
DOMException
-
setTextContent
- Specified by:
setTextContentin interfaceNode- Throws:
DOMException
-
isSameNode
- Specified by:
isSameNodein interfaceNode
-
lookupPrefix
- Specified by:
lookupPrefixin interfaceNode
-
isDefaultNamespace
- Specified by:
isDefaultNamespacein interfaceNode
-
lookupNamespaceURI
- Specified by:
lookupNamespaceURIin interfaceNode
-
isEqualNode
- Specified by:
isEqualNodein interfaceNode
-
getFeature
- Specified by:
getFeaturein interfaceNode
-
setUserData
- Specified by:
setUserDatain interfaceNode
-
getUserData
- Specified by:
getUserDatain interfaceNode
-
addChildElement
- Specified by:
addChildElementin interfaceSOAPElement- Throws:
SOAPException
-
addChildElement
- Specified by:
addChildElementin interfaceSOAPElement- Throws:
SOAPException
-
addChildElement
- Specified by:
addChildElementin interfaceSOAPElement- Throws:
SOAPException
-
addChildElement
- Specified by:
addChildElementin interfaceSOAPElement- Throws:
SOAPException
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceSOAPElement
-
setElementQName
- Specified by:
setElementQNamein interfaceSOAPElement- Throws:
SOAPException
-
createQName
- Specified by:
createQNamein interfaceSOAPElement- Throws:
SOAPException
-
getNamespacePrefix
-
getNamespaceAttr
-
getNamespaceContextNodes
-
getNamespaceContextNodes
-
addChildElement
public SOAPElement addChildElement(String localName, String prefix, String uri) throws SOAPException - Specified by:
addChildElementin interfaceSOAPElement- Throws:
SOAPException
-
addChildElement
- Specified by:
addChildElementin interfaceSOAPElement- Throws:
SOAPException
-
importElement
-
addElement
- Throws:
SOAPException
-
addElement
- Throws:
SOAPException
-
createElement
-
createElement
-
addNode
- Throws:
SOAPException
-
findChild
-
findAndConvertChildElement
-
addTextNode
- Specified by:
addTextNodein interfaceSOAPElement- Throws:
SOAPException
-
addCDATA
- Throws:
SOAPException
-
addText
- Throws:
SOAPException
-
addAttribute
- Specified by:
addAttributein interfaceSOAPElement- Throws:
SOAPException
-
addAttribute
- Specified by:
addAttributein interfaceSOAPElement- Throws:
SOAPException
-
addNamespaceDeclaration
- Specified by:
addNamespaceDeclarationin interfaceSOAPElement- Throws:
SOAPException
-
getAttributeValue
- Specified by:
getAttributeValuein interfaceSOAPElement
-
getAttributeValue
- Specified by:
getAttributeValuein interfaceSOAPElement
-
getAllAttributes
- Specified by:
getAllAttributesin interfaceSOAPElement
-
getAllAttributesAsQNames
- Specified by:
getAllAttributesAsQNamesin interfaceSOAPElement
-
getNamespacePrefixes
- Specified by:
getNamespacePrefixesin interfaceSOAPElement
-
getVisibleNamespacePrefixes
- Specified by:
getVisibleNamespacePrefixesin interfaceSOAPElement
-
doGetNamespacePrefixes
-
getElementName
- Specified by:
getElementNamein interfaceSOAPElement
-
getElementQName
- Specified by:
getElementQNamein interfaceSOAPElement
-
removeAttribute
- Specified by:
removeAttributein interfaceSOAPElement
-
removeAttribute
- Specified by:
removeAttributein interfaceSOAPElement
-
removeNamespaceDeclaration
- Specified by:
removeNamespaceDeclarationin interfaceSOAPElement
-
getChildElements
- Specified by:
getChildElementsin interfaceSOAPElement
-
convertToSoapElement
-
convertToSoapText
-
replaceElementWithSOAPElement
-
getChildElementNodes
-
getChildElements
- Specified by:
getChildElementsin interfaceSOAPElement
-
getChildElements
- Specified by:
getChildElementsin interfaceSOAPElement
-
removeContents
public void removeContents()- Specified by:
removeContentsin interfaceSOAPElement
-
setEncodingStyle
- Specified by:
setEncodingStylein interfaceSOAPElement- Throws:
SOAPException
-
getEncodingStyle
- Specified by:
getEncodingStylein interfaceSOAPElement
-
getValue
-
setValue
-
getValueNodeStrict
-
getValueNode
-
setParentElement
- Specified by:
setParentElementin interfaceNode- Throws:
SOAPException
-
findEncodingStyleAttributeName
- Throws:
SOAPException
-
setEncodingStyleNamespace
protected void setEncodingStyleNamespace(String soapNamespace, String soapNamespacePrefix) throws SOAPException - Throws:
SOAPException
-
getParentElement
- Specified by:
getParentElementin interfaceNode
-
getSOAPNamespace
-
detachNode
public void detachNode()- Specified by:
detachNodein interfaceNode
-
tryToFindEncodingStyleAttributeName
public void tryToFindEncodingStyleAttributeName() -
recycleNode
public void recycleNode()- Specified by:
recycleNodein interfaceNode
-
getNamespaceAttrFrom
-
getAllAttributesFrom
-
getAttributeValueFrom
-
getChildElementsFrom
-
getQualifiedName
-
getLocalPart
-
getPrefix
-
isNamespaceQualified
-
isNamespaceQualified
-
setAttributeNS
- Specified by:
setAttributeNSin interfaceElement
-
removeAttributeNS
- Specified by:
removeAttributeNSin interfaceElement- Throws:
DOMException
-
getAttributeNodeNS
- Specified by:
getAttributeNodeNSin interfaceElement- Throws:
DOMException
-
setAttributeNodeNS
- Specified by:
setAttributeNodeNSin interfaceElement- Throws:
DOMException
-
getElementsByTagNameNS
- Specified by:
getElementsByTagNameNSin interfaceElement- Throws:
DOMException
-
hasAttribute
- Specified by:
hasAttributein interfaceElement
-
hasAttributeNS
- Specified by:
hasAttributeNSin interfaceElement- Throws:
DOMException
-
getSchemaTypeInfo
- Specified by:
getSchemaTypeInfoin interfaceElement
-
setIdAttribute
- Specified by:
setIdAttributein interfaceElement- Throws:
DOMException
-
setIdAttributeNS
public void setIdAttributeNS(String namespaceURI, String localName, boolean isId) throws DOMException - Specified by:
setIdAttributeNSin interfaceElement- Throws:
DOMException
-
setIdAttributeNode
- Specified by:
setIdAttributeNodein interfaceElement- Throws:
DOMException
-
getNodeName
- Specified by:
getNodeNamein interfaceNode
-
getNodeValue
- Specified by:
getNodeValuein interfaceNode- Throws:
DOMException
-
setNodeValue
- Specified by:
setNodeValuein interfaceNode- Throws:
DOMException
-
getNodeType
public short getNodeType()- Specified by:
getNodeTypein interfaceNode
-
getParentNode
- Specified by:
getParentNodein interfaceNode
-
getChildNodes
- Specified by:
getChildNodesin interfaceNode
-
getFirstChild
- Specified by:
getFirstChildin interfaceNode
-
getLastChild
- Specified by:
getLastChildin interfaceNode
-
getPreviousSibling
- Specified by:
getPreviousSiblingin interfaceNode
-
getNextSibling
- Specified by:
getNextSiblingin interfaceNode
-
getAttributes
- Specified by:
getAttributesin interfaceNode
-
getDomElement
-
getSoapDocument
-