org.apache.axiom.soap
Interface SOAPFaultClassifier
- All Superinterfaces:
- OMContainer, OMElement, OMNode, OMSerializable
- All Known Subinterfaces:
- SOAPFaultCode, SOAPFaultSubCode
public interface SOAPFaultClassifier
- extends OMElement
Common superinterface for SOAPFaultCode and SOAPFaultSubCode.
This interface enables manipulation of SOAP fault codes and SOAP fault sub
codes using common code.
| Methods inherited from interface org.apache.axiom.om.OMElement |
addAttribute, addAttribute, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttributeValue, getBuilder, getChildElements, getDefaultNamespace, getFirstElement, getLineNumber, getLocalName, getNamespace, getQName, getText, getTextAsQName, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, removeAttribute, resolveQName, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setBuilder, setFirstChild, setLineNumber, setLocalName, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, toString, toStringWithConsume |
setValue
void setValue(SOAPFaultValue value)
throws SOAPProcessingException
- 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
void setSubCode(SOAPFaultSubCode subCode)
throws SOAPProcessingException
- Fault SubCode can contain an optional SubCode
- Parameters:
subCode -
- Throws:
SOAPProcessingException
getSubCode
SOAPFaultSubCode getSubCode()
- Returns:
- Returns SOAPFaultSubCode.
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.