Apache CXF API

org.apache.cxf.ws.rm
Enum ProtocolVariation

java.lang.Object
  extended by java.lang.Enum<ProtocolVariation>
      extended by org.apache.cxf.ws.rm.ProtocolVariation
All Implemented Interfaces:
Serializable, Comparable<ProtocolVariation>

public enum ProtocolVariation
extends Enum<ProtocolVariation>

Supported protocol variations.


Enum Constant Summary
RM10WSA200408
           
RM10WSA200508
           
RM11WSA200508
           
 
Method Summary
static ProtocolVariation findVariant(String wsrm, String wsa)
          Get the information for a supported version of WS-ReliableMessaging and WS-Addressing.
 EncoderDecoder getCodec()
           
 RMConstants getConstants()
           
 String getWSANamespace()
           
 String getWSRMNamespace()
           
static ProtocolVariation valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ProtocolVariation[] 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

RM10WSA200408

public static final ProtocolVariation RM10WSA200408

RM10WSA200508

public static final ProtocolVariation RM10WSA200508

RM11WSA200508

public static final ProtocolVariation RM11WSA200508
Method Detail

values

public static ProtocolVariation[] 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 (ProtocolVariation c : ProtocolVariation.values())
    System.out.println(c);

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

valueOf

public static ProtocolVariation valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getCodec

public EncoderDecoder getCodec()

getConstants

public RMConstants getConstants()

getWSRMNamespace

public String getWSRMNamespace()

getWSANamespace

public String getWSANamespace()

findVariant

public static ProtocolVariation findVariant(String wsrm,
                                            String wsa)
Get the information for a supported version of WS-ReliableMessaging and WS-Addressing. If the WS-A namespace is not specified this just returns the first match on the WS-RM namespace, which should always be the default.

Parameters:
wsrm - WS-RM namespace URI
wsa - WS-A namespace URI (null if not specified)
Returns:
variant (null if not a supported version)

Apache CXF API

Apache CXF