com.sun.identity.liberty.ws.soapbinding
Class SOAPFault

java.lang.Object
  extended by com.sun.identity.liberty.ws.soapbinding.SOAPFault

public class SOAPFault
extends Object

The SOAPFault class represents a SOAP Fault element.


Constructor Summary
SOAPFault(QName faultcode, String faultstring)
          Constructor.
SOAPFault(QName faultcode, String faultstring, String faultactor, SOAPFaultDetail detail)
          Constructor.
 
Method Summary
 SOAPFaultDetail getDetail()
          Returns a SOAP Fault Detail.
 String getFaultActor()
          Returns value of faultactor element.
 QName getFaultCode()
          Returns value of faultcode element.
 String getFaultString()
          Returns value of faultstring element.
 void setDetail(SOAPFaultDetail detail)
          Sets a SOAP Fault Detail.
 void setFaultActor(String faultactor)
          Sets value of faultactor element.
 void setFaultCode(QName faultcode)
          Sets value of faultcode element.
 void setFaultString(String faultstring)
          Sets value of faultstring element.
 

Constructor Detail

SOAPFault

public SOAPFault(QName faultcode,
                 String faultstring)
Constructor.

Parameters:
faultcode - value of faultcode element
faultstring - value of faultstring element

SOAPFault

public SOAPFault(QName faultcode,
                 String faultstring,
                 String faultactor,
                 SOAPFaultDetail detail)
Constructor.

Parameters:
faultcode - value of faultcode element.
faultstring - value of faultstring element.
faultactor - value of faultactor element.
detail - a SOAP Fault Detail.
Method Detail

getFaultCode

public QName getFaultCode()
Returns value of faultcode element.

Returns:
value of faultcode element.

getFaultString

public String getFaultString()
Returns value of faultstring element.

Returns:
value of faultstring element.

getFaultActor

public String getFaultActor()
Returns value of faultactor element.

Returns:
value of faultactor element.

getDetail

public SOAPFaultDetail getDetail()
Returns a SOAP Fault Detail.

Returns:
a SOAP Fault Detail.

setFaultCode

public void setFaultCode(QName faultcode)
Sets value of faultcode element.

Parameters:
faultcode - value of faultcode element

setFaultString

public void setFaultString(String faultstring)
Sets value of faultstring element.

Parameters:
faultstring - value of faultstring element.

setFaultActor

public void setFaultActor(String faultactor)
Sets value of faultactor element.

Parameters:
faultactor - value of faultactor element.

setDetail

public void setDetail(SOAPFaultDetail detail)
Sets a SOAP Fault Detail.

Parameters:
detail - a SOAP Fault Detail.