|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.axis.message.NodeImpl
org.jboss.axis.message.SOAPElementImpl
org.jboss.axis.message.SOAPElementAxisImpl
org.jboss.axis.message.SOAPBodyElementImpl
org.jboss.axis.message.SOAPBodyElementAxisImpl
org.jboss.axis.message.SOAPFaultImpl
public class SOAPFaultImpl
A Fault body element.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jboss.axis.message.SOAPElementAxisImpl |
|---|
SOAPElementAxisImpl.QNameAttr |
| Field Summary | |
|---|---|
protected AxisFault |
fault
|
protected String |
prefix
|
| Fields inherited from class org.jboss.axis.message.SOAPElementAxisImpl |
|---|
_isRoot, attributes, context, elementRep, encodingStyle, endEventIndex, href, id, message, name, namespaces, namespaceURI, objectValue, qNameAttrs, recorder, soapPart, startContentsIndex, startEventIndex, typeQName |
| Fields inherited from class org.jboss.axis.message.NodeImpl |
|---|
domNode, soapParent |
| Constructor Summary | |
|---|---|
SOAPFaultImpl(AxisFault fault)
|
|
SOAPFaultImpl(String namespace,
String localName,
String prefix,
Attributes attrs,
DeserializationContext context)
|
|
| Method Summary | |
|---|---|
javax.xml.soap.Detail |
addDetail()
Creates a Detail object and sets it as the
Detail object for this SOAPFaultException
object. |
javax.xml.soap.Detail |
getDetail()
Returns the detail element for this SOAPFaultException
object. |
AxisFault |
getFault()
|
String |
getFaultActor()
Gets the fault actor for this SOAPFaultException
object. |
String |
getFaultCode()
Gets the fault code for this SOAPFaultException
object. |
javax.xml.soap.Name |
getFaultCodeAsName()
|
String |
getFaultString()
Gets the fault string for this SOAPFaultException
object. |
Locale |
getFaultStringLocale()
|
void |
outputImpl(SerializationContext context)
Subclasses can override |
void |
setFault(AxisFault fault)
|
void |
setFaultActor(String faultActor)
Sets this SOAPFaultException object with the given
fault actor. |
void |
setFaultCode(javax.xml.soap.Name faultCodeQName)
|
void |
setFaultCode(String faultCode)
Sets this SOAPFaultException object with the given
fault code. |
void |
setFaultString(String faultString)
Sets the fault string for this SOAPFaultException
object to the given string. |
void |
setFaultString(String faultString,
Locale locale)
|
| Methods inherited from class org.jboss.axis.message.SOAPBodyElementAxisImpl |
|---|
setParentElement |
| Methods inherited from class org.jboss.axis.message.SOAPElementImpl |
|---|
getSchemaTypeInfo, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
| Methods inherited from class org.jboss.axis.message.NodeImpl |
|---|
compareDocumentPosition, getBaseURI, getFeature, getNodeName, getTextContent, getUserData, getValue, hashCode, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, recycleNode, setNodeValue, setTextContent, setUserData, setValue, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, 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, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
| Methods inherited from interface org.w3c.dom.Element |
|---|
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
| Field Detail |
|---|
protected AxisFault fault
protected String prefix
| Constructor Detail |
|---|
public SOAPFaultImpl(String namespace,
String localName,
String prefix,
Attributes attrs,
DeserializationContext context)
throws AxisFault
AxisFaultpublic SOAPFaultImpl(AxisFault fault)
| Method Detail |
|---|
public void outputImpl(SerializationContext context)
throws IOException
SOAPElementAxisImpl
outputImpl in class SOAPElementAxisImplIOExceptionpublic AxisFault getFault()
public void setFault(AxisFault fault)
public void setFaultCode(String faultCode)
throws javax.xml.soap.SOAPException
SOAPFaultException object with the given
fault code.
Fault codes, which given information about the fault, are defined in the SOAP 1.1 specification.
setFaultCode in interface javax.xml.soap.SOAPFaultfaultCode - a String giving
the fault code to be set; must be one of the fault codes
defined in the SOAP 1.1 specification
javax.xml.soap.SOAPException - if there was an error in
adding the faultCode to the underlying XML
tree.public String getFaultCode()
SOAPFaultException
object.
getFaultCode in interface javax.xml.soap.SOAPFaultString with the fault code
public void setFaultActor(String faultActor)
throws javax.xml.soap.SOAPException
SOAPFaultException object with the given
fault actor.
The fault actor is the recipient in the message path who caused the fault to happen.
setFaultActor in interface javax.xml.soap.SOAPFaultfaultActor - a String
identifying the actor that caused this
SOAPFaultException object
javax.xml.soap.SOAPException - if there was an error in
adding the faultActor to the underlying XML
tree.public String getFaultActor()
SOAPFaultException
object.
getFaultActor in interface javax.xml.soap.SOAPFaultString giving the actor in the message
path that caused this SOAPFaultException objectsetFaultActor(java.lang.String)
public void setFaultString(String faultString)
throws javax.xml.soap.SOAPException
SOAPFaultException
object to the given string.
setFaultString in interface javax.xml.soap.SOAPFaultfaultString - a String
giving an explanation of the fault
javax.xml.soap.SOAPException - if there was an error in
adding the faultString to the underlying XML
tree.getFaultString()public String getFaultString()
SOAPFaultException
object.
getFaultString in interface javax.xml.soap.SOAPFaultString giving an explanation of the
faultpublic javax.xml.soap.Detail getDetail()
SOAPFaultException
object.
A Detail object carries
application-specific error information related to
SOAPBodyElement objects.
getDetail in interface javax.xml.soap.SOAPFaultDetail object with
application-specific error information
public javax.xml.soap.Detail addDetail()
throws javax.xml.soap.SOAPException
Detail object and sets it as the
Detail object for this SOAPFaultException
object.
It is illegal to add a detail when the fault already contains a detail. Therefore, this method should be called only after the existing detail has been removed.
addDetail in interface javax.xml.soap.SOAPFaultDetail object
javax.xml.soap.SOAPException - if this
SOAPFaultException object already contains a valid
Detail object
public void setFaultCode(javax.xml.soap.Name faultCodeQName)
throws javax.xml.soap.SOAPException
setFaultCode in interface javax.xml.soap.SOAPFaultjavax.xml.soap.SOAPExceptionpublic javax.xml.soap.Name getFaultCodeAsName()
getFaultCodeAsName in interface javax.xml.soap.SOAPFault
public void setFaultString(String faultString,
Locale locale)
throws javax.xml.soap.SOAPException
setFaultString in interface javax.xml.soap.SOAPFaultjavax.xml.soap.SOAPExceptionpublic Locale getFaultStringLocale()
getFaultStringLocale in interface javax.xml.soap.SOAPFault
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||