org.apache.axis2.soap.impl.llom.soap12
Class SOAP12FaultImpl
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.soap12.SOAP12FaultImpl
- All Implemented Interfaces:
- OMConstants, OMContainer, OMContainerEx, OMElement, OMNode, OMNodeEx, SOAPFault
- public class SOAP12FaultImpl
- 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, serialize, serializeWithCache, 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 |
SOAP12FaultImpl
public SOAP12FaultImpl(SOAPBody parent,
java.lang.Exception e)
throws SOAPProcessingException
- Eran Chinthaka (chinthaka@apache.org)
SOAP12FaultImpl
public SOAP12FaultImpl(SOAPBody parent,
OMXMLParserWrapper builder)
SOAP12FaultImpl
public SOAP12FaultImpl(SOAPBody parent)
throws SOAPProcessingException
- This is a convenience method for the SOAP Fault Impl.
- Parameters:
parent
-
getNewSOAPFaultDetail
protected SOAPFaultDetail getNewSOAPFaultDetail(SOAPFault fault)
- Specified by:
getNewSOAPFaultDetail
in class SOAPFaultImpl
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
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
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
serializeFaultNode
protected void serializeFaultNode(OMOutputImpl omOutput)
throws XMLStreamException
- Specified by:
serializeFaultNode
in class SOAPFaultImpl
- Throws:
XMLStreamException