## 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, org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class SOAPFaultBuilder
extends SOAPHandler
implements Callback

Build a Fault body element.

Author:
  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 java.lang.String` `faultActor`
`protected java.lang.Class` `faultClass`
`protected QName` `faultCode`
`protected java.lang.Object` `faultData`
`protected org.w3c.dom.Element[]` `faultDetails`
`protected java.lang.String` `faultNode`
`protected java.lang.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(java.lang.String namespace, java.lang.String localName, DeserializationContext context)` Final call back where we can populate the exception with data.
`void` `onEndChild(java.lang.String namespace, java.lang.String localName, DeserializationContext context)`
`SOAPHandler` `onStartChild(java.lang.String namespace, java.lang.String name, java.lang.String prefix, org.xml.sax.Attributes attributes, 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, 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`

Field Detail

### element

    protected SOAPFault element

### context

    protected DeserializationContext context

### faultCode

    protected QName faultCode

### faultSubCode

    protected QName[] faultSubCode

### faultString

    protected java.lang.String faultString

### faultActor

    protected java.lang.String faultActor

### faultDetails

    protected org.w3c.dom.Element[] faultDetails

### faultNode

    protected java.lang.String faultNode

### code

    protected SOAPFaultCodeBuilder code

### faultClass

    protected java.lang.Class faultClass

### faultData

    protected java.lang.Object faultData

Constructor Detail

### SOAPFaultBuilder

    public SOAPFaultBuilder(SOAPFault element,
                            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,
                             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,
                           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,
                                    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,
                           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 `Callback`

Copyright © 2005 Apache Web Services Project. All Rights Reserved.