Package org.apache.axis.message
Class SOAPFaultBuilder
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.axis.message.SOAPHandler
org.apache.axis.message.SOAPFaultBuilder
- All Implemented Interfaces:
Callback
,ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
Build a Fault body element.
- Author:
- Sam Ruby (rubys@us.ibm.com), Glen Daniels (gdaniels@apache.org), Tom Jordahl (tomj@macromedia.com)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SOAPFaultCodeBuilder
protected DeserializationContext
protected SOAPFault
protected String
protected Class
protected QName
protected Object
protected Element[]
protected String
protected String
protected QName[]
Fields inherited from class org.apache.axis.message.SOAPHandler
myElement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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) onStartChild
(String namespace, String name, String prefix, Attributes attributes, DeserializationContext context) void
setFaultClass
(Class faultClass) void
void
startElement
(String namespace, String localName, String prefix, Attributes attributes, DeserializationContext context) Methods inherited from class org.apache.axis.message.SOAPHandler
characters, makeNewElement
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
element
-
context
-
faultCode
-
faultSubCode
-
faultString
-
faultActor
-
faultDetails
-
faultNode
-
code
-
faultClass
-
faultData
-
-
Constructor Details
-
SOAPFaultBuilder
-
-
Method Details
-
startElement
public void startElement(String namespace, String localName, String prefix, Attributes attributes, DeserializationContext context) throws SAXException - Overrides:
startElement
in classSOAPHandler
- Throws:
SAXException
-
setFaultClass
-
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 classSOAPHandler
- Throws:
SAXException
-
onStartChild
public SOAPHandler onStartChild(String namespace, String name, String prefix, Attributes attributes, DeserializationContext context) throws SAXException - Overrides:
onStartChild
in classSOAPHandler
- Throws:
SAXException
-
onEndChild
public void onEndChild(String namespace, String localName, DeserializationContext context) throws SAXException - Overrides:
onEndChild
in classSOAPHandler
- Throws:
SAXException
-
setValue
-