Package org.apache.axis2.saaj
Class SOAPBodyElementImpl<T extends org.apache.axiom.om.OMElement>
java.lang.Object
org.apache.axis2.saaj.ProxyNode<T,S>
org.apache.axis2.saaj.NodeImpl<Element,T>
org.apache.axis2.saaj.SOAPElementImpl<T>
org.apache.axis2.saaj.SOAPBodyElementImpl<T>
- All Implemented Interfaces:
jakarta.xml.soap.Node,jakarta.xml.soap.SOAPBodyElement,jakarta.xml.soap.SOAPElement,Element,Node
- Direct Known Subclasses:
SOAPFaultImpl
public class SOAPBodyElementImpl<T extends org.apache.axiom.om.OMElement>
extends SOAPElementImpl<T>
implements jakarta.xml.soap.SOAPBodyElement
-
Field Summary
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.xml.soap.SOAPElementaddAttribute(QName qname, String value) jakarta.xml.soap.SOAPElementaddChildElement(QName qname) createQName(String localName, String prefix) Creates a QName whose namespace URI is the one associated with the parameter, prefix, in the context of this SOAPElement.getAttributeValue(QName qname) getChildElements(QName qname) booleanremoveAttribute(QName qname) jakarta.xml.soap.SOAPElementsetElementQName(QName newName) voidsetParentElement(jakarta.xml.soap.SOAPElement parent) Methods inherited from class org.apache.axis2.saaj.SOAPElementImpl
addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, clone, copyContents, getAllAttributes, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributeValue, getChildElements, getChildElements, getElementName, getElementsByTagName, getElementsByTagNameNS, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getTagName, getValue, getVisibleNamespacePrefixes, hasAttribute, hasAttributeNS, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeContents, removeNamespaceDeclaration, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setEncodingStyle, setValue, toStringMethods inherited from class org.apache.axis2.saaj.NodeImpl
detachNode, getParentElementMethods inherited from class org.apache.axis2.saaj.ProxyNode
appendChild, appendElement, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOMTarget, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSchemaTypeInfo, getTarget, getTextContent, getType, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, recycleNode, removeChild, replaceChild, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setNodeValue, setPrefix, setTextContent, setType, setUserData, toSAAJNodeListMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNSMethods inherited from interface jakarta.xml.soap.Node
detachNode, getParentElement, getValue, recycleNode, setValueMethods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDataMethods inherited from interface jakarta.xml.soap.SOAPElement
addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, getAllAttributes, getAttributeValue, getChildElements, getChildElements, getElementName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeContents, removeNamespaceDeclaration, setEncodingStyle
-
Constructor Details
-
SOAPBodyElementImpl
- Parameters:
element-
-
-
Method Details
-
setParentElement
public void setParentElement(jakarta.xml.soap.SOAPElement parent) throws jakarta.xml.soap.SOAPException - Specified by:
setParentElementin interfacejakarta.xml.soap.Node- Overrides:
setParentElementin classNodeImpl<Element,T extends org.apache.axiom.om.OMElement> - Throws:
jakarta.xml.soap.SOAPException
-
addAttribute
public jakarta.xml.soap.SOAPElement addAttribute(QName qname, String value) throws jakarta.xml.soap.SOAPException - Specified by:
addAttributein interfacejakarta.xml.soap.SOAPElement- Overrides:
addAttributein classSOAPElementImpl<T extends org.apache.axiom.om.OMElement>- Throws:
jakarta.xml.soap.SOAPException
-
addChildElement
public jakarta.xml.soap.SOAPElement addChildElement(QName qname) throws jakarta.xml.soap.SOAPException - Specified by:
addChildElementin interfacejakarta.xml.soap.SOAPElement- Overrides:
addChildElementin classSOAPElementImpl<T extends org.apache.axiom.om.OMElement>- Throws:
jakarta.xml.soap.SOAPException
-
createQName
Description copied from class:SOAPElementImplCreates a QName whose namespace URI is the one associated with the parameter, prefix, in the context of this SOAPElement. The remaining elements of the new QName are taken directly from the parameters, localName and prefix.- Specified by:
createQNamein interfacejakarta.xml.soap.SOAPElement- Overrides:
createQNamein classSOAPElementImpl<T extends org.apache.axiom.om.OMElement>- Parameters:
localName- - a String containing the local part of the name. prefix - a String containing the prefix for the name.- Returns:
- a QName with the specified localName and prefix, and with a namespace that is associated with the prefix in the context of this SOAPElement. This namespace will be the same as the one that would be returned by getNamespaceURI(String) if it were given prefix as its parameter.
- Throws:
jakarta.xml.soap.SOAPException- - if the QName cannot be created.
-
getAllAttributesAsQNames
- Specified by:
getAllAttributesAsQNamesin interfacejakarta.xml.soap.SOAPElement- Overrides:
getAllAttributesAsQNamesin classSOAPElementImpl<T extends org.apache.axiom.om.OMElement>
-
getAttributeValue
- Specified by:
getAttributeValuein interfacejakarta.xml.soap.SOAPElement- Overrides:
getAttributeValuein classSOAPElementImpl<T extends org.apache.axiom.om.OMElement>
-
getChildElements
- Specified by:
getChildElementsin interfacejakarta.xml.soap.SOAPElement- Overrides:
getChildElementsin classSOAPElementImpl<T extends org.apache.axiom.om.OMElement>
-
getElementQName
- Specified by:
getElementQNamein interfacejakarta.xml.soap.SOAPElement- Overrides:
getElementQNamein classSOAPElementImpl<T extends org.apache.axiom.om.OMElement>
-
removeAttribute
- Specified by:
removeAttributein interfacejakarta.xml.soap.SOAPElement- Overrides:
removeAttributein classSOAPElementImpl<T extends org.apache.axiom.om.OMElement>
-
setElementQName
public jakarta.xml.soap.SOAPElement setElementQName(QName newName) throws jakarta.xml.soap.SOAPException - Specified by:
setElementQNamein interfacejakarta.xml.soap.SOAPElement- Overrides:
setElementQNamein classSOAPElementImpl<T extends org.apache.axiom.om.OMElement>- Throws:
jakarta.xml.soap.SOAPException
-