org.apache.axis.message
Class SOAPFaultBuilder

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended byorg.apache.axis.message.SOAPHandler
          extended byorg.apache.axis.message.SOAPFaultBuilder
All Implemented Interfaces:
org.apache.axis.encoding.Callback, org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class SOAPFaultBuilder
extends SOAPHandler
implements org.apache.axis.encoding.Callback

Build a Fault body element.


Field Summary
 
Fields inherited from class org.apache.axis.message.SOAPHandler
myElement
 
Constructor Summary
SOAPFaultBuilder(SOAPFault element, org.apache.axis.encoding.DeserializationContext context)
           
 
Method Summary
 void endElement(java.lang.String namespace, java.lang.String localName, org.apache.axis.encoding.DeserializationContext context)
          Final call back where we can populate the exception with data.
 void onEndChild(java.lang.String namespace, java.lang.String localName, org.apache.axis.encoding.DeserializationContext context)
           
 SOAPHandler onStartChild(java.lang.String namespace, java.lang.String name, java.lang.String prefix, org.xml.sax.Attributes attributes, org.apache.axis.encoding.DeserializationContext context)
           
 void setFaultClass(java.lang.Class faultClass)
           
 void setValue(java.lang.Object value, java.lang.Object hint)
           
 void startElement(java.lang.String namespace, java.lang.String localName, java.lang.String prefix, org.xml.sax.Attributes attributes, org.apache.axis.encoding.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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPFaultBuilder

public SOAPFaultBuilder(SOAPFault element,
                        org.apache.axis.encoding.DeserializationContext context)
Method Detail

startElement

public void startElement(java.lang.String namespace,
                         java.lang.String localName,
                         java.lang.String prefix,
                         org.xml.sax.Attributes attributes,
                         org.apache.axis.encoding.DeserializationContext context)
                  throws org.xml.sax.SAXException
Overrides:
startElement in class SOAPHandler
Throws:
org.xml.sax.SAXException

setFaultClass

public void setFaultClass(java.lang.Class faultClass)

endElement

public void endElement(java.lang.String namespace,
                       java.lang.String localName,
                       org.apache.axis.encoding.DeserializationContext context)
                throws org.xml.sax.SAXException
Final call back where we can populate the exception with data.

Overrides:
endElement in class SOAPHandler
Throws:
org.xml.sax.SAXException

onStartChild

public SOAPHandler onStartChild(java.lang.String namespace,
                                java.lang.String name,
                                java.lang.String prefix,
                                org.xml.sax.Attributes attributes,
                                org.apache.axis.encoding.DeserializationContext context)
                         throws org.xml.sax.SAXException
Overrides:
onStartChild in class SOAPHandler
Throws:
org.xml.sax.SAXException

onEndChild

public void onEndChild(java.lang.String namespace,
                       java.lang.String localName,
                       org.apache.axis.encoding.DeserializationContext context)
                throws org.xml.sax.SAXException
Overrides:
onEndChild in class SOAPHandler
Throws:
org.xml.sax.SAXException

setValue

public void setValue(java.lang.Object value,
                     java.lang.Object hint)
Specified by:
setValue in interface org.apache.axis.encoding.Callback


Copyright © 2003 Apache Web Services Project. A ll Rights Reserved.