Package com.sun.xml.ws.rx.mc.api
Enum McProtocolVersion
- java.lang.Object
-
- java.lang.Enum<McProtocolVersion>
-
- com.sun.xml.ws.rx.mc.api.McProtocolVersion
-
- All Implemented Interfaces:
Serializable
,Comparable<McProtocolVersion>
public enum McProtocolVersion extends Enum<McProtocolVersion>
Enumeration holding supported WS-MakeConnection protocol versions- Author:
- Marek Potociar (marek.potociar at sun.com)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description WSMC200702
-
Field Summary
Fields Modifier and Type Field Description QName
messagePendingHeaderName
Header namesQName
missingSelectionFaultCode
String
policyNamespaceUri
String
protocolNamespaceUri
NamespacesQName
unsupportedSelectionFaultCode
Fault codesString
wsmcAction
Action constantsString
wsmcFaultAction
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static McProtocolVersion
getDefault()
Provides a default reliable messaging version value.boolean
isFault(String wsaAction)
Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol faultboolean
isProtocolAction(String wsaAction)
Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol messagestatic McProtocolVersion
valueOf(String name)
Returns the enum constant of this type with the specified name.static McProtocolVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WSMC200702
public static final McProtocolVersion WSMC200702
-
-
Field Detail
-
protocolNamespaceUri
public final String protocolNamespaceUri
Namespaces
-
policyNamespaceUri
public final String policyNamespaceUri
-
wsmcAction
public final String wsmcAction
Action constants
-
wsmcFaultAction
public final String wsmcFaultAction
-
messagePendingHeaderName
public final QName messagePendingHeaderName
Header names
-
unsupportedSelectionFaultCode
public final QName unsupportedSelectionFaultCode
Fault codes
-
missingSelectionFaultCode
public final QName missingSelectionFaultCode
-
-
Method Detail
-
values
public static McProtocolVersion[] 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 (McProtocolVersion c : McProtocolVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static McProtocolVersion 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
-
getDefault
public static McProtocolVersion getDefault()
Provides a default reliable messaging version value.- Returns:
- a default reliable messaging version value. Currently returns
WSMC200702
.
-
isProtocolAction
public boolean isProtocolAction(String wsaAction)
Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol message- Parameters:
wsaAction
- WS-Addressing action string- Returns:
true
in case thewsaAction
parameter is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol message
-
isFault
public boolean isFault(String wsaAction)
Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol fault- Parameters:
wsaAction
- WS-Addressing action string- Returns:
true
in case thewsaAction
parameter is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol fault
-
-