|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.axis.message.NodeImpl (src)
org.jboss.axis.message.SOAPElementImpl (src)
org.jboss.axis.message.SOAPElementAxisImpl (src)
org.jboss.axis.message.SOAPBodyElementImpl (src)
org.jboss.axis.message.SOAPBodyElementAxisImpl (src)
org.jboss.axis.message.SOAPFaultImpl
A Fault body element.
| Nested Class Summary |
| Nested classes inherited from class org.jboss.axis.message.SOAPElementAxisImpl (src) |
SOAPElementAxisImpl.QNameAttr (src) |
| Field Summary | |
protected AxisFault (src) |
fault
|
protected java.lang.String |
prefix
|
| Fields inherited from class org.jboss.axis.message.SOAPElementAxisImpl (src) |
_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 (src) |
domNode, soapParent |
| Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Constructor Summary | |
SOAPFaultImpl(AxisFault (src) fault)
|
|
SOAPFaultImpl(java.lang.String namespace,
java.lang.String localName,
java.lang.String prefix,
org.xml.sax.Attributes attrs,
DeserializationContext (src) context)
|
|
| Method Summary | |
Detail (src) |
addDetail()
Creates a Detail object and sets it as the
Detail object for this SOAPFaultException
object. |
Detail (src) |
getDetail()
Returns the detail element for this SOAPFaultException
object. |
AxisFault (src) |
getFault()
|
java.lang.String |
getFaultActor()
Gets the fault actor for this SOAPFaultException
object. |
java.lang.String |
getFaultCode()
Gets the fault code for this SOAPFaultException
object. |
Name (src) |
getFaultCodeAsName()
|
java.lang.String |
getFaultString()
Gets the fault string for this SOAPFaultException
object. |
java.util.Locale |
getFaultStringLocale()
|
void |
outputImpl(SerializationContext (src) context)
Subclasses can override |
void |
setFault(AxisFault (src) fault)
|
void |
setFaultActor(java.lang.String faultActor)
Sets this SOAPFaultException object with the given
fault actor. |
void |
setFaultCode(Name (src) faultCodeQName)
|
void |
setFaultCode(java.lang.String faultCode)
Sets this SOAPFaultException object with the given
fault code. |
void |
setFaultString(java.lang.String faultString)
Sets the fault string for this SOAPFaultException
object to the given string. |
void |
setFaultString(java.lang.String faultString,
java.util.Locale locale)
|
| Methods inherited from class org.jboss.axis.message.SOAPBodyElementAxisImpl (src) |
setParentElement |
| Methods inherited from class org.jboss.axis.message.SOAPElementImpl (src) |
getSchemaTypeInfo, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
| Methods inherited from class org.jboss.axis.message.NodeImpl (src) |
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.Node (src) |
detachNode, getParentElement, getValue, recycleNode, setParentElement, setValue |
| Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
| Methods inherited from interface org.w3c.dom.Element |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
| Field Detail |
protected AxisFault (src) fault
protected java.lang.String prefix
| Constructor Detail |
public SOAPFaultImpl(java.lang.String namespace,
java.lang.String localName,
java.lang.String prefix,
org.xml.sax.Attributes attrs,
DeserializationContext (src) context)
throws AxisFault (src)
public SOAPFaultImpl(AxisFault (src) fault)
| Method Detail |
public void outputImpl(SerializationContext (src) context)
throws java.io.IOException
SOAPElementAxisImpl (src)
outputImpl in class SOAPElementAxisImpl (src) java.io.IOExceptionpublic AxisFault (src) getFault()
public void setFault(AxisFault (src) fault)
public void setFaultCode(java.lang.String faultCode)
throws SOAPException (src)
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 SOAPFault (src) faultCode - a String giving
the fault code to be set; must be one of the fault codes
defined in the SOAP 1.1 specification
SOAPException (src) - if there was an error in
adding the faultCode to the underlying XML
tree.public java.lang.String getFaultCode()
SOAPFaultException
object.
getFaultCode in interface SOAPFault (src) String with the fault code
public void setFaultActor(java.lang.String faultActor)
throws SOAPException (src)
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 SOAPFault (src) faultActor - a String
identifying the actor that caused this
SOAPFaultException object
SOAPException (src) - if there was an error in
adding the faultActor to the underlying XML
tree.public java.lang.String getFaultActor()
SOAPFaultException
object.
getFaultActor in interface SOAPFault (src) String giving the actor in the message
path that caused this SOAPFaultException objectsetFaultActor(java.lang.String)
public void setFaultString(java.lang.String faultString)
throws SOAPException (src)
SOAPFaultException
object to the given string.
setFaultString in interface SOAPFault (src) faultString - a String
giving an explanation of the fault
SOAPException (src) - if there was an error in
adding the faultString to the underlying XML
tree.getFaultString()public java.lang.String getFaultString()
SOAPFaultException
object.
getFaultString in interface SOAPFault (src) String giving an explanation of the
faultpublic Detail (src) getDetail()
SOAPFaultException
object.
A Detail object carries
application-specific error information related to
SOAPBodyElement objects.
getDetail in interface SOAPFault (src) Detail object with
application-specific error information
public Detail (src) addDetail()
throws SOAPException (src)
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 SOAPFault (src) Detail object
SOAPException (src) - if this
SOAPFaultException object already contains a valid
Detail object
public void setFaultCode(Name (src) faultCodeQName)
throws SOAPException (src)
setFaultCode in interface SOAPFault (src) SOAPException (src) public Name (src) getFaultCodeAsName()
getFaultCodeAsName in interface SOAPFault (src)
public void setFaultString(java.lang.String faultString,
java.util.Locale locale)
throws SOAPException (src)
setFaultString in interface SOAPFault (src) SOAPException (src) public java.util.Locale getFaultStringLocale()
getFaultStringLocale in interface SOAPFault (src)
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||