org.apache.axis.message

Class SOAPFaultBuilder

Implemented Interfaces:
Callback

public class SOAPFaultBuilder
extends SOAPHandler
implements Callback

Build a Fault body element.

Authors:
Sam Ruby (rubys@us.ibm.com)
Glen Daniels (gdaniels@apache.org)
Tom Jordahl (tomj@macromedia.com)

Field Summary

protected SOAPFaultCodeBuilder
code
protected DeserializationContext
context
protected SOAPFault
element
protected String
faultActor
protected Class
faultClass
protected QName
faultCode
protected Object
faultData
protected Element[]
faultDetails
protected String
faultNode
protected String
faultString
protected QName[]
faultSubCode

Fields inherited from class org.apache.axis.message.SOAPHandler

myElement

Constructor Summary

SOAPFaultBuilder(SOAPFault element, DeserializationContext context)

Method Summary

void
endElement(String namespace, String localName, DeserializationContext context)
Final call back where we can populate the exception with data.
void
onEndChild(String namespace, String localName, DeserializationContext context)
SOAPHandler
onStartChild(String namespace, String name, String prefix, Attributes attributes, DeserializationContext context)
void
setFaultClass(Class faultClass)
void
setValue(Object value, Object hint)
void
startElement(String namespace, String localName, String prefix, Attributes attributes, DeserializationContext context)

Methods inherited from class org.apache.axis.message.SOAPHandler

characters, endElement, makeNewElement, onEndChild, onStartChild, startElement

Field Details

code

protected SOAPFaultCodeBuilder code


context

protected DeserializationContext context


element

protected SOAPFault element


faultActor

protected String faultActor


faultClass

protected Class faultClass


faultCode

protected QName faultCode


faultData

protected Object faultData


faultDetails

protected Element[] faultDetails


faultNode

protected String faultNode


faultString

protected String faultString


faultSubCode

protected QName[] faultSubCode

Constructor Details

SOAPFaultBuilder

public SOAPFaultBuilder(SOAPFault element,
                        DeserializationContext context)

Method Details

endElement

public void endElement(String namespace,
                       String localName,
                       DeserializationContext context)
            throws SAXException
Final call back where we can populate the exception with data.
Overrides:
endElement in interface SOAPHandler


onEndChild

public void onEndChild(String namespace,
                       String localName,
                       DeserializationContext context)
            throws SAXException
Overrides:
onEndChild in interface SOAPHandler


onStartChild

public SOAPHandler onStartChild(String namespace,
                                String name,
                                String prefix,
                                Attributes attributes,
                                DeserializationContext context)
            throws SAXException
Overrides:
onStartChild in interface SOAPHandler


setFaultClass

public void setFaultClass(Class faultClass)


setValue

public void setValue(Object value,
                     Object hint)
Specified by:
setValue in interface Callback


startElement

public void startElement(String namespace,
                         String localName,
                         String prefix,
                         Attributes attributes,
                         DeserializationContext context)
            throws SAXException
Overrides:
startElement in interface SOAPHandler


Copyright B) 2005 Apache Web Services Project. All Rights Reserved.