org.apache.axis2.fault
Class FaultCode

java.lang.Object
  extended byorg.apache.axis2.fault.AbstractFaultCode
      extended byorg.apache.axis2.fault.FaultCode

public class FaultCode
extends AbstractFaultCode


Constructor Summary
FaultCode()
          simple constructor
FaultCode(org.apache.ws.commons.soap.SOAPFaultCode source)
          Create a fault code (and all subcodes) from a SOAP Fault Code
FaultCode(String value, FaultSubcode subcode)
          Constructor to fill in subcodes
 
Method Summary
 QName getValue()
           
 String getValueString()
           
 void setValue(QName value)
          Set the value of the fault code.
 void setValueString(String value)
          local names are stuck in as a string and turned into a local qname
 
Methods inherited from class org.apache.axis2.fault.AbstractFaultCode
getSubcode, setSubcode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FaultCode

public FaultCode()
simple constructor


FaultCode

public FaultCode(org.apache.ws.commons.soap.SOAPFaultCode source)
Create a fault code (and all subcodes) from a SOAP Fault Code

Parameters:
source - SOAPFaultCode to parse

FaultCode

public FaultCode(String value,
                 FaultSubcode subcode)
Constructor to fill in subcodes

Parameters:
value - fault value (may be null)
subcode - fault subcode (may be null)
Method Detail

getValueString

public String getValueString()

setValue

public void setValue(QName value)
Description copied from class: AbstractFaultCode
Set the value of the fault code.

Subclasses must provide their own specific semantics

Specified by:
setValue in class AbstractFaultCode
Parameters:
value -

getValue

public QName getValue()

setValueString

public void setValueString(String value)
local names are stuck in as a string and turned into a local qname

Parameters:
value -