FileDocCategorySizeDatePackage
SOAPFaultCodeBuilder.javaAPI DocApache Axis 1.42878Sat Apr 22 18:57:28 BST 2006org.apache.axis.message

SOAPFaultCodeBuilder

public class SOAPFaultCodeBuilder extends SOAPHandler implements org.apache.axis.encoding.Callback
Build a Fault body element.
author
Sam Ruby (rubys@us.ibm.com)
author
Glen Daniels (gdaniels@apache.org)
author
Tom Jordahl (tomj@macromedia.com)

Fields Summary
protected QName
faultCode
protected SOAPFaultCodeBuilder
next
Constructors Summary
public SOAPFaultCodeBuilder()


      
    
Methods Summary
public javax.xml.namespace.QNamegetFaultCode()

        return faultCode;
    
public org.apache.axis.message.SOAPFaultCodeBuildergetNext()

        return next;
    
public SOAPHandleronStartChild(java.lang.String namespace, java.lang.String name, java.lang.String prefix, org.xml.sax.Attributes attributes, org.apache.axis.encoding.DeserializationContext context)


        QName thisQName = new QName(namespace, name);
        if (thisQName.equals(Constants.QNAME_FAULTVALUE_SOAP12)) {
            Deserializer currentDeser = null;
            currentDeser = context.getDeserializerForType(Constants.XSD_QNAME);
            if (currentDeser != null) {
                currentDeser.registerValueTarget(new CallbackTarget(this, thisQName));
            }
            return (SOAPHandler)currentDeser;
        } else if (thisQName.equals(Constants.QNAME_FAULTSUBCODE_SOAP12)) {
            return (next = new SOAPFaultCodeBuilder());
        } else
            return null;
    
public voidsetValue(java.lang.Object value, java.lang.Object hint)

        QName thisQName = (QName)hint;
        if (thisQName.equals(Constants.QNAME_FAULTVALUE_SOAP12)) {
            faultCode = (QName)value;
        }