org.apache.axis2.saaj
Class SOAPFaultImpl

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

public class SOAPFaultImpl
extends SOAPBodyElementImpl
implements javax.xml.soap.SOAPFault

Class SOAPFaultImpl SOAPFault specific classes not implemented in OM, so throwing unsupported operation for the time being


Field Summary
protected  SOAPFault fault
          Field fault The omSOAPFault field
 
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
SOAPFaultImpl(SOAPFault fault)
          Constructor SOAPFaultImpl
 
Method Summary
 javax.xml.soap.Detail addDetail()
          method addDetail
 javax.xml.soap.Detail getDetail()
          method getDetail
 java.lang.String getFaultActor()
          method getFaultActor
 java.lang.String getFaultCode()
          Method getFaultCode
 javax.xml.soap.Name getFaultCodeAsName()
          method getFaultCodeAsName
 java.lang.String getFaultString()
          method getFaultString
 java.util.Locale getFaultStringLocale()
          method getFaultStringLocale
 SOAPFault getOMFault()
           
 void setFaultActor(java.lang.String faultActor)
          method setFaultActor
 void setFaultCode(javax.xml.soap.Name name)
          method setFaultCode
 void setFaultCode(java.lang.String faultCode)
          Method setFaultCode
 void setFaultString(java.lang.String faultString)
          method setFaultString
 void setFaultString(java.lang.String faultString, java.util.Locale locale)
          method seFaultString
 
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
 

Field Detail

fault

protected SOAPFault fault
Field fault The omSOAPFault field

Constructor Detail

SOAPFaultImpl

public SOAPFaultImpl(SOAPFault fault)
Constructor SOAPFaultImpl

Parameters:
fault -
Method Detail

getOMFault

public SOAPFault getOMFault()

setFaultCode

public void setFaultCode(java.lang.String faultCode)
                  throws javax.xml.soap.SOAPException
Method setFaultCode

Specified by:
setFaultCode in interface javax.xml.soap.SOAPFault
Parameters:
faultCode -
Throws:
javax.xml.soap.SOAPException
See Also:
SOAPFault.setFaultCode(java.lang.String)

getFaultCode

public java.lang.String getFaultCode()
Method getFaultCode

Specified by:
getFaultCode in interface javax.xml.soap.SOAPFault
Returns:
See Also:
SOAPFault.getFaultCode()

setFaultActor

public void setFaultActor(java.lang.String faultActor)
                   throws javax.xml.soap.SOAPException
method setFaultActor

Specified by:
setFaultActor in interface javax.xml.soap.SOAPFault
Parameters:
faultActor -
Throws:
javax.xml.soap.SOAPException
See Also:
SOAPFault.setFaultActor(java.lang.String)

getFaultActor

public java.lang.String getFaultActor()
method getFaultActor

Specified by:
getFaultActor in interface javax.xml.soap.SOAPFault
Returns:
See Also:
SOAPFault.getFaultActor()

setFaultString

public void setFaultString(java.lang.String faultString)
                    throws javax.xml.soap.SOAPException
method setFaultString

Specified by:
setFaultString in interface javax.xml.soap.SOAPFault
Parameters:
faultString -
Throws:
javax.xml.soap.SOAPException
See Also:
SOAPFault.setFaultString(java.lang.String)

getFaultString

public java.lang.String getFaultString()
method getFaultString

Specified by:
getFaultString in interface javax.xml.soap.SOAPFault
Returns:
See Also:
SOAPFault.getFaultString()

getDetail

public javax.xml.soap.Detail getDetail()
method getDetail

Specified by:
getDetail in interface javax.xml.soap.SOAPFault
Returns:
See Also:
SOAPFault.getDetail()

addDetail

public javax.xml.soap.Detail addDetail()
                                throws javax.xml.soap.SOAPException
method addDetail

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

setFaultCode

public void setFaultCode(javax.xml.soap.Name name)
                  throws javax.xml.soap.SOAPException
method setFaultCode

Specified by:
setFaultCode in interface javax.xml.soap.SOAPFault
Parameters:
name -
Throws:
javax.xml.soap.SOAPException
See Also:
SOAPFault.setFaultCode(javax.xml.soap.Name)

getFaultCodeAsName

public javax.xml.soap.Name getFaultCodeAsName()
method getFaultCodeAsName

Specified by:
getFaultCodeAsName in interface javax.xml.soap.SOAPFault
Returns:
See Also:
SOAPFault.getFaultCodeAsName()

setFaultString

public void setFaultString(java.lang.String faultString,
                           java.util.Locale locale)
                    throws javax.xml.soap.SOAPException
method seFaultString

Specified by:
setFaultString in interface javax.xml.soap.SOAPFault
Parameters:
faultString -
locale -
Throws:
javax.xml.soap.SOAPException
See Also:
SOAPFault.setFaultString(java.lang.String, java.util.Locale)

getFaultStringLocale

public java.util.Locale getFaultStringLocale()
method getFaultStringLocale

Specified by:
getFaultStringLocale in interface javax.xml.soap.SOAPFault
Returns:
See Also:
SOAPFault.getFaultStringLocale()