org.apache.axis2.fault
Class FaultSubcode

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

public class FaultSubcode
extends AbstractFaultCode

OM-neutral representation of a SOAP1.2 fault code for use in AxisFaults created 28-Oct-2005 16:52:29


Constructor Summary
FaultSubcode()
          Simple constructor.
FaultSubcode(QName value, FaultSubcode subcode)
          Constructor to fill in subcodes.
FaultSubcode(SOAPFaultSubCode source)
          Recursively construct from fault information.
 
Method Summary
 QName getValue()
          Gets the current failt code value.
 void setValue(QName value)
          Sets the value of the fault code.
 String toString()
          Returns a string representation of the object (base fault).
 
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, wait, wait, wait
 

Constructor Detail

FaultSubcode

public FaultSubcode()
Simple constructor.


FaultSubcode

public FaultSubcode(SOAPFaultSubCode source)
Recursively construct from fault information.

Parameters:
source -

FaultSubcode

public FaultSubcode(QName value,
                    FaultSubcode subcode)
Constructor to fill in subcodes.

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

toString

public String toString()
Returns a string representation of the object (base fault).

Returns:
Returns a string representation of the object.

getValue

public QName getValue()
Gets the current failt code value.

Returns:
Returns QName.

setValue

public void setValue(QName value)
Sets the value of the fault code.

Specified by:
setValue in class AbstractFaultCode
Parameters:
value - new value