Package org.apache.cxf.ws.rm
Enum ProtocolVariation
- java.lang.Object
-
- java.lang.Enum<ProtocolVariation>
-
- org.apache.cxf.ws.rm.ProtocolVariation
-
- All Implemented Interfaces:
Serializable,Comparable<ProtocolVariation>
public enum ProtocolVariation extends Enum<ProtocolVariation>
Supported protocol variations.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RM10WSA200408RM10WSA200508RM11WSA200508
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProtocolVariationfindVariant(String wsrm, String wsa)Get the information for a supported version of WS-ReliableMessaging and WS-Addressing.EncoderDecodergetCodec()RMConstantsgetConstants()StringgetWSANamespace()StringgetWSRMNamespace()static ProtocolVariationvalueOf(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.
-
-
-
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 nameNullPointerException- 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 URIwsa- WS-A namespace URI (nullif not specified)- Returns:
- variant (
nullif not a supported version)
-
-