Package org.apache.axiom.soap
Interface SOAPFaultClassifier
- All Superinterfaces:
OMContainer,OMElement,OMNode,OMSerializable
- All Known Subinterfaces:
SOAPFaultCode,SOAPFaultSubCode
Common superinterface for
SOAPFaultCode and SOAPFaultSubCode.
This interface enables manipulation of SOAP fault codes and SOAP fault sub
codes using common code.-
Field Summary
Fields inherited from interface org.apache.axiom.om.OMNode
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE -
Method Summary
Modifier and TypeMethodDescriptiongetValue()voidsetSubCode(SOAPFaultSubCode subCode) Fault SubCode can contain an optional SubCodevoidsetValue(SOAPFaultValue value) Fault SubCode contain only one mandatory Value child.Methods inherited from interface org.apache.axiom.om.OMContainer
addChild, buildNext, getBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChildWithName, getFirstOMChild, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCachingMethods inherited from interface org.apache.axiom.om.OMElement
addAttribute, addAttribute, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttributeValue, getChildElements, getDefaultNamespace, getFirstElement, getLineNumber, getLocalName, getNamespace, getQName, getText, getTextAsQName, getXMLStreamReader, removeAttribute, resolveQName, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setBuilder, setFirstChild, setLineNumber, setLocalName, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, toString, toStringWithConsumeMethods inherited from interface org.apache.axiom.om.OMNode
buildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBeforeMethods inherited from interface org.apache.axiom.om.OMSerializable
build, close, getOMFactory, isComplete, serialize, serialize, serializeAndConsume
-
Method Details
-
setValue
Fault SubCode contain only one mandatory Value child. This value child contains a QName- Parameters:
value-- Throws:
SOAPProcessingException
-
getValue
SOAPFaultValue getValue()- Returns:
- Returns SOAPFaultValue.
-
setSubCode
Fault SubCode can contain an optional SubCode- Parameters:
subCode-- Throws:
SOAPProcessingException
-
getSubCode
SOAPFaultSubCode getSubCode()- Returns:
- Returns SOAPFaultSubCode.
-