org.apache.axis2.saaj
Class SOAPBodyImpl

java.lang.Object
  extended byorg.apache.axis2.saaj.NodeImpl
      extended byorg.apache.axis2.saaj.SOAPElementImpl
          extended byorg.apache.axis2.saaj.SOAPBodyImpl
All Implemented Interfaces:
org.w3c.dom.Element, org.w3c.dom.Node, javax.xml.soap.Node, javax.xml.soap.SOAPBody, javax.xml.soap.SOAPElement

public class SOAPBodyImpl
extends SOAPElementImpl
implements javax.xml.soap.SOAPBody

Class SOAPBodeImpl


Field Summary
 
Fields inherited from class org.apache.axis2.saaj.SOAPElementImpl
omElement
 
Fields inherited from class org.apache.axis2.saaj.NodeImpl
document, omNode
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
SOAPBodyImpl(SOAPBody omSoapBody)
          Constructor SOAPBodeImpl The constructor to facilitate conversion of SAAJ SOAPBody out of OM SOAPBody
 
Method Summary
 javax.xml.soap.SOAPBodyElement addBodyElement(javax.xml.soap.Name name)
          Method addBodyElement
 javax.xml.soap.SOAPBodyElement addDocument(org.w3c.dom.Document document)
          Method addDocument
 javax.xml.soap.SOAPFault addFault()
          Method addFault
 javax.xml.soap.SOAPFault addFault(javax.xml.soap.Name faultCode, java.lang.String faultString)
          Method addFault
 javax.xml.soap.SOAPFault addFault(javax.xml.soap.Name faultCode, java.lang.String faultString, java.util.Locale locale)
          Method addFault
 javax.xml.soap.SOAPFault getFault()
          Method getFault
 boolean hasFault()
          Method hasFault
 
Methods inherited from class org.apache.axis2.saaj.SOAPElementImpl
addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, getAllAttributes, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributeValue, getChildElements, getChildElements, getElementName, getElementsByTagName, getElementsByTagNameNS, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getOMElement, getTagName, getVisibleNamespacePrefixes, hasAttribute, hasAttributeNS, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeContents, removeNamespaceDeclaration, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setEncodingStyle
 
Methods inherited from class org.apache.axis2.saaj.NodeImpl
appendChild, cloneNode, detachNode, equals, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOMNode, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getValue, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, recycleNode, removeChild, replaceChild, setNodeValue, setOwnerDocument, setParentElement, setPrefix, setValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.xml.soap.SOAPElement
addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, getAllAttributes, getAttributeValue, getChildElements, getChildElements, getElementName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeContents, removeNamespaceDeclaration, setEncodingStyle
 
Methods inherited from interface javax.xml.soap.Node
detachNode, getParentElement, getValue, recycleNode, setParentElement, setValue
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS
 

Constructor Detail

SOAPBodyImpl

public SOAPBodyImpl(SOAPBody omSoapBody)
Constructor SOAPBodeImpl The constructor to facilitate conversion of SAAJ SOAPBody out of OM SOAPBody

Parameters:
omSoapBody -
Method Detail

addFault

public javax.xml.soap.SOAPFault addFault()
                                  throws javax.xml.soap.SOAPException
Method addFault

Specified by:
addFault in interface javax.xml.soap.SOAPBody
Returns:
Throws:
javax.xml.soap.SOAPException
See Also:
SOAPBody.addFault()

hasFault

public boolean hasFault()
Method hasFault

Specified by:
hasFault in interface javax.xml.soap.SOAPBody
Returns:
See Also:
SOAPBody.hasFault()

getFault

public javax.xml.soap.SOAPFault getFault()
Method getFault

Specified by:
getFault in interface javax.xml.soap.SOAPBody
Returns:
See Also:
SOAPBody.getFault()

addBodyElement

public javax.xml.soap.SOAPBodyElement addBodyElement(javax.xml.soap.Name name)
                                              throws javax.xml.soap.SOAPException
Method addBodyElement

Specified by:
addBodyElement in interface javax.xml.soap.SOAPBody
Parameters:
name -
Returns:
Throws:
javax.xml.soap.SOAPException
See Also:
SOAPBody.addBodyElement(javax.xml.soap.Name)

addFault

public javax.xml.soap.SOAPFault addFault(javax.xml.soap.Name faultCode,
                                         java.lang.String faultString,
                                         java.util.Locale locale)
                                  throws javax.xml.soap.SOAPException
Method addFault

Specified by:
addFault in interface javax.xml.soap.SOAPBody
Parameters:
faultCode -
faultString -
locale - a Locale object indicating the native language of the faultString
Returns:
the new SOAPFault object
Throws:
javax.xml.soap.SOAPException
See Also:
SOAPBody.addFault(javax.xml.soap.Name, java.lang.String, java.util.Locale)

addFault

public javax.xml.soap.SOAPFault addFault(javax.xml.soap.Name faultCode,
                                         java.lang.String faultString)
                                  throws javax.xml.soap.SOAPException
Method addFault

Specified by:
addFault in interface javax.xml.soap.SOAPBody
Parameters:
faultCode -
faultString -
Returns:
Throws:
javax.xml.soap.SOAPException
See Also:
SOAPBody.addFault(javax.xml.soap.Name, java.lang.String)

addDocument

public javax.xml.soap.SOAPBodyElement addDocument(org.w3c.dom.Document document)
                                           throws javax.xml.soap.SOAPException
Method addDocument

Specified by:
addDocument in interface javax.xml.soap.SOAPBody
Parameters:
document -
Returns:
Throws:
javax.xml.soap.SOAPException
See Also:
SOAPBody.addDocument(org.w3c.dom.Document)