org.ow2.petals.component.framework.constants
Enum SoapFaultCode

java.lang.Object
  extended by java.lang.Enum<SoapFaultCode>
      extended by org.ow2.petals.component.framework.constants.SoapFaultCode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SoapFaultCode>

public enum SoapFaultCode
extends java.lang.Enum<SoapFaultCode>

SOAP Fault Code Constants for the Message Exchange Patterns.

Author:
Christophe DENEUX (Capgemini Sud)

Enum Constant Summary
CLIENT
           
DATA_ENCODING_UNKNOWN
           
MUST_UNDERSTAND
           
RECEIVER
           
SENDER
           
SERVER
           
VERSION_MISMATCH
           
 
Method Summary
 java.lang.String value()
           
static SoapFaultCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SoapFaultCode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

VERSION_MISMATCH

public static final SoapFaultCode VERSION_MISMATCH

MUST_UNDERSTAND

public static final SoapFaultCode MUST_UNDERSTAND

DATA_ENCODING_UNKNOWN

public static final SoapFaultCode DATA_ENCODING_UNKNOWN

SENDER

public static final SoapFaultCode SENDER

RECEIVER

public static final SoapFaultCode RECEIVER

CLIENT

public static final SoapFaultCode CLIENT

SERVER

public static final SoapFaultCode SERVER
Method Detail

values

public static SoapFaultCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SoapFaultCode c : SoapFaultCode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SoapFaultCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public java.lang.String value()
Returns:


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.