Version: 1.1.1

org.soap
Class SOAPFault

java.lang.Object
  extended by org.soap.SOAPFault

public class SOAPFault
extends Object

A class to represent a SOAP fault

Author:
Eddie

Constructor Summary
SOAPFault()
           
 
Method Summary
static SOAPFault createFromXML(Object xmlData)
           
 String getCode()
           
 String getMsg()
           
 WSRFFault getWsrfFault()
           
 boolean isWsrf()
           
 void setCode(String code)
           
 void setMsg(String msg)
           
 void setWsrf(boolean wsrf)
           
 void setWsrfFault(WSRFFault wsrfFault)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SOAPFault

public SOAPFault()
Method Detail

getCode

public String getCode()
Returns:
the code

setCode

public void setCode(String code)
Parameters:
code - the code to set

getMsg

public String getMsg()
Returns:
the msg

setMsg

public void setMsg(String msg)
Parameters:
msg - the msg to set

getWsrfFault

public WSRFFault getWsrfFault()
Returns:
the wsrfFault

setWsrfFault

public void setWsrfFault(WSRFFault wsrfFault)
Parameters:
wsrfFault - the wsrfFault to set

toString

public String toString()
Overrides:
toString in class Object

isWsrf

public boolean isWsrf()
Returns:
the wsrf

setWsrf

public void setWsrf(boolean wsrf)
Parameters:
wsrf - the wsrf to set

createFromXML

public static SOAPFault createFromXML(Object xmlData)
                               throws MobyException
Parameters:
xmlData - the xml to parse into a SOAPFault object. One of byte[], File or String
Returns:
a SOAPFault object obtained by parsing the XML
Throws:
MobyException - if there was a problem parsing the xml

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010