org.apache.axis2.soap.impl.llom.soap11
Class SOAP11FaultImpl
java.lang.Object
org.apache.axis2.om.impl.llom.OMNodeImpl
org.apache.axis2.om.impl.llom.OMElementImpl
org.apache.axis2.soap.impl.llom.SOAPElement
org.apache.axis2.soap.impl.llom.SOAPFaultImpl
org.apache.axis2.soap.impl.llom.soap11.SOAP11FaultImpl
- All Implemented Interfaces:
- OMConstants, OMContainer, OMContainerEx, OMElement, OMNode, OMNodeEx, SOAPFault
- public class SOAP11FaultImpl
- extends SOAPFaultImpl
Fields inherited from class org.apache.axis2.soap.impl.llom.SOAPFaultImpl |
e |
Methods inherited from class org.apache.axis2.soap.impl.llom.SOAPFaultImpl |
getChildWithName, getCode, getDetail, getException, getNode, getReason, getRole, putExceptionToSOAPFault, serialize, setException, setNewElement |
Methods inherited from class org.apache.axis2.om.impl.llom.OMElementImpl |
addAttribute, addAttribute, addChild, buildNext, declareNamespace, declareNamespace, detach, discard, findNamespace, getAllDeclaredNamespaces, getAttribute, getAttributes, getBuilder, getChildElements, getChildren, getChildrenWithName, getFirstAttribute, getFirstChild, getFirstChildWithName, getFirstElement, getLocalName, getNamespace, getNextSibling, getQName, getText, getTrimmedText, getType, getXMLStreamReader, getXMLStreamReaderWithoutCaching, isComplete, removeAttribute, setBuilder, setFirstChild, setLocalName, setNamespace, setText |
Methods inherited from class org.apache.axis2.om.impl.llom.OMNodeImpl |
build, getParent, getPreviousSibling, insertSiblingAfter, insertSiblingBefore, serialize, serializeWithCache, setComplete, setNextSibling, setParent, setPreviousSibling, setType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.axis2.om.OMElement |
addAttribute, addAttribute, addChild, declareNamespace, declareNamespace, findNamespace, getAllDeclaredNamespaces, getAttribute, getAttributes, getBuilder, getChildElements, getChildren, getChildrenWithName, getFirstAttribute, getFirstChild, getFirstChildWithName, getFirstElement, getLocalName, getNamespace, getQName, getText, getXMLStreamReader, getXMLStreamReaderWithoutCaching, removeAttribute, setBuilder, setFirstChild, setLocalName, setNamespace, setText |
Methods inherited from interface org.apache.axis2.om.OMNode |
build, detach, discard, getNextSibling, getParent, getPreviousSibling, getType, insertSiblingAfter, insertSiblingBefore, isComplete, serialize, serializeWithCache |
SOAP11FaultImpl
public SOAP11FaultImpl(SOAPBody parent,
java.lang.Exception e)
throws SOAPProcessingException
- Eran Chinthaka (chinthaka@apache.org)
SOAP11FaultImpl
public SOAP11FaultImpl(SOAPBody parent,
OMXMLParserWrapper builder)
SOAP11FaultImpl
public SOAP11FaultImpl(SOAPBody parent)
throws SOAPProcessingException
- This is a convenience method for the SOAP Fault Impl.
- Parameters:
parent
-
getNewSOAPFaultDetail
protected SOAPFaultDetail getNewSOAPFaultDetail(SOAPFault fault)
throws SOAPProcessingException
- Specified by:
getNewSOAPFaultDetail
in class SOAPFaultImpl
- Throws:
SOAPProcessingException
serializeWithCache
public void serializeWithCache(OMOutputImpl omOutput)
throws XMLStreamException
- Description copied from class:
OMElementImpl
- Method serializeWithCache
- Overrides:
serializeWithCache
in class OMElementImpl
- Throws:
XMLStreamException
serialize
public void serialize(OMOutputImpl omOutput)
throws XMLStreamException
- Description copied from class:
OMElementImpl
- This was requested during the second Axis2 summit. When one call this method, this will
serialize without building the object structure in the memory. Misuse of this method will
cause loss of data.So its advised to use populateYourSelf() method, before this,
if you want to preserve data in the stream.
- Overrides:
serialize
in class OMElementImpl
- Throws:
XMLStreamException
setCode
public void setCode(SOAPFaultCode soapFaultCode)
throws SOAPProcessingException
- Description copied from interface:
SOAPFault
- SOAPFaultCode is a mandatory item in a Fault, in SOAP 1.2 specification
- Specified by:
setCode
in interface SOAPFault
- Overrides:
setCode
in class SOAPFaultImpl
- Throws:
SOAPProcessingException
setReason
public void setReason(SOAPFaultReason reason)
throws SOAPProcessingException
- Description copied from interface:
SOAPFault
- SOAPFaultReason is a mandatory item in a Fault, in SOAP 1.2 specification
- Specified by:
setReason
in interface SOAPFault
- Overrides:
setReason
in class SOAPFaultImpl
- Throws:
SOAPProcessingException
setNode
public void setNode(SOAPFaultNode node)
throws SOAPProcessingException
- Description copied from interface:
SOAPFault
- SOAPFaultNode is an optional item in a Fault, in SOAP 1.2 specification
- Specified by:
setNode
in interface SOAPFault
- Overrides:
setNode
in class SOAPFaultImpl
- Throws:
SOAPProcessingException
setRole
public void setRole(SOAPFaultRole role)
throws SOAPProcessingException
- Description copied from interface:
SOAPFault
- SOAPFaultRoleImpl is an optional item in a Fault, in SOAP 1.2 specification
- Specified by:
setRole
in interface SOAPFault
- Overrides:
setRole
in class SOAPFaultImpl
- Throws:
SOAPProcessingException
checkParent
protected void checkParent(OMElement parent)
throws SOAPProcessingException
- Description copied from class:
SOAPElement
- This has to be implemented by all the derived classes to check for the correct parent.
- Specified by:
checkParent
in class SOAPElement
- Throws:
SOAPProcessingException
setDetail
public void setDetail(SOAPFaultDetail detail)
throws SOAPProcessingException
- Description copied from interface:
SOAPFault
- SOAPFaultRoleImpl is an optional item in a Fault, in SOAP 1.2 specification
- Specified by:
setDetail
in interface SOAPFault
- Overrides:
setDetail
in class SOAPFaultImpl
- Throws:
SOAPProcessingException
serializeFaultNode
protected void serializeFaultNode(OMOutputImpl omOutput)
throws XMLStreamException
- Specified by:
serializeFaultNode
in class SOAPFaultImpl
- Throws:
XMLStreamException