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 SOAPFaultCodeBuilderprotected DeserializationContextprotected SOAPFaultprotected Stringprotected Classprotected QNameprotected Objectprotected Element[]protected Stringprotected Stringprotected QName[]Fields inherited from class org.apache.axis.message.SOAPHandler
myElement -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidendElement(String namespace, String localName, DeserializationContext context) Final call back where we can populate the exception with data.voidonEndChild(String namespace, String localName, DeserializationContext context) onStartChild(String namespace, String name, String prefix, Attributes attributes, DeserializationContext context) voidsetFaultClass(Class faultClass) voidvoidstartElement(String namespace, String localName, String prefix, Attributes attributes, DeserializationContext context) Methods inherited from class org.apache.axis.message.SOAPHandler
characters, makeNewElementMethods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
startElementin 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:
endElementin classSOAPHandler- Throws:
SAXException
-
onStartChild
public SOAPHandler onStartChild(String namespace, String name, String prefix, Attributes attributes, DeserializationContext context) throws SAXException - Overrides:
onStartChildin classSOAPHandler- Throws:
SAXException
-
onEndChild
public void onEndChild(String namespace, String localName, DeserializationContext context) throws SAXException - Overrides:
onEndChildin classSOAPHandler- Throws:
SAXException
-
setValue
-