org.apache.soap
Class Fault

java.lang.Object
  |
  +--org.apache.soap.Fault

public class Fault
extends java.lang.Object

A Fault object represents the contents and semantics of a <SOAP-ENV:Fault> element.

Author:
Matthew J. Duftler (duftler@us.ibm.com), Sanjiva Weerawarana (sanjiva@watson.ibm.com), Eric M. Dashofy (edashofy@ics.uci.edu), Kevin J. Mitchell (kevin.mitchell@xmls.com)

Constructor Summary
Fault()
           
Fault(SOAPException _soapException)
           
 
Method Summary
 void declareNamespace(java.lang.String nsPrefix, java.lang.String namespaceURI)
           
 java.lang.String getAttribute(QName attrQName)
           
 java.util.Vector getDetailEntries()
           
 java.lang.String getFaultActorURI()
           
 java.lang.String getFaultCode()
           
 java.util.Vector getFaultEntries()
           
 java.lang.String getFaultString()
           
 void marshall(java.lang.String inScopeEncStyle, java.io.Writer sink, NSStack nsStack, XMLJavaMappingRegistry xjmr)
           
 void removeAttribute(QName attrQName)
           
 void setAttribute(QName attrQName, java.lang.String value)
           
 void setDetailEntries(java.util.Vector detailEntries)
           
 void setFaultActorURI(java.lang.String faultActorURI)
           
 void setFaultCode(java.lang.String faultCode)
           
 void setFaultEntries(java.util.Vector faultEntries)
           
 void setFaultString(java.lang.String faultString)
           
 java.lang.String toString()
           
static Fault unmarshall(java.lang.String inScopeEncStyle, org.w3c.dom.Node src, XMLJavaMappingRegistry xjmr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Fault

public Fault()

Fault

public Fault(SOAPException _soapException)
Method Detail

setAttribute

public void setAttribute(QName attrQName,
                         java.lang.String value)

getAttribute

public java.lang.String getAttribute(QName attrQName)

removeAttribute

public void removeAttribute(QName attrQName)

declareNamespace

public void declareNamespace(java.lang.String nsPrefix,
                             java.lang.String namespaceURI)

setFaultCode

public void setFaultCode(java.lang.String faultCode)

getFaultCode

public java.lang.String getFaultCode()

setFaultString

public void setFaultString(java.lang.String faultString)

getFaultString

public java.lang.String getFaultString()

setFaultActorURI

public void setFaultActorURI(java.lang.String faultActorURI)

getFaultActorURI

public java.lang.String getFaultActorURI()

setDetailEntries

public void setDetailEntries(java.util.Vector detailEntries)

getDetailEntries

public java.util.Vector getDetailEntries()

setFaultEntries

public void setFaultEntries(java.util.Vector faultEntries)

getFaultEntries

public java.util.Vector getFaultEntries()

marshall

public void marshall(java.lang.String inScopeEncStyle,
                     java.io.Writer sink,
                     NSStack nsStack,
                     XMLJavaMappingRegistry xjmr)
              throws java.lang.IllegalArgumentException,
                     java.io.IOException

unmarshall

public static Fault unmarshall(java.lang.String inScopeEncStyle,
                               org.w3c.dom.Node src,
                               XMLJavaMappingRegistry xjmr)
                        throws java.lang.IllegalArgumentException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001 Oracle SOAP. All Rights Reserved.