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.
RM10WSA200408
public static final ProtocolVariation RM10WSA200408
RM10WSA200508
public static final ProtocolVariation RM10WSA200508
RM11WSA200508
public static final ProtocolVariation RM11WSA200508
values
public static final ProtocolVariation[] values()
- Returns an array containing the constants of this enum type, in
the order they're 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're 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
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 (null
if not specified)
- Returns:
- variant (
null
if not a supported version)
Apache CXF