com.sun.xml.ws.rx.mc.api
Enum McProtocolVersion

java.lang.Object
  extended by java.lang.Enum<McProtocolVersion>
      extended by com.sun.xml.ws.rx.mc.api.McProtocolVersion
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<McProtocolVersion>

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

Enumeration holding supported WS-MakeConnection protocol versions

Author:
Marek Potociar (marek.potociar at sun.com)

Enum Constant Summary
WSMC200702
           
 
Field Summary
 javax.xml.namespace.QName messagePendingHeaderName
          Header names
 javax.xml.namespace.QName missingSelectionFaultCode
           
 java.lang.String policyNamespaceUri
           
 java.lang.String protocolNamespaceUri
          Namespaces
 javax.xml.namespace.QName unsupportedSelectionFaultCode
          Fault codes
 java.lang.String wsmcAction
          Action constants
 java.lang.String wsmcFaultAction
           
 
Method Summary
static McProtocolVersion getDefault()
          Provides a default reliable messaging version value.
 boolean isFault(java.lang.String wsaAction)
          Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol fault
 boolean isProtocolAction(java.lang.String wsaAction)
          Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol message
static McProtocolVersion valueOf(java.lang.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.
 
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

WSMC200702

public static final McProtocolVersion WSMC200702
Field Detail

protocolNamespaceUri

public final java.lang.String protocolNamespaceUri
Namespaces


policyNamespaceUri

public final java.lang.String policyNamespaceUri

wsmcAction

public final java.lang.String wsmcAction
Action constants


wsmcFaultAction

public final java.lang.String wsmcFaultAction

messagePendingHeaderName

public final javax.xml.namespace.QName messagePendingHeaderName
Header names


unsupportedSelectionFaultCode

public final javax.xml.namespace.QName unsupportedSelectionFaultCode
Fault codes


missingSelectionFaultCode

public final javax.xml.namespace.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(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

getDefault

public static McProtocolVersion getDefault()
Provides a default reliable messaging version value.

Returns:
a default reliable messaging version value. Currently returns #WSRM200702.
See Also:
RmVersion

isProtocolAction

public boolean isProtocolAction(java.lang.String wsaAction)
Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol message

Parameters:
WS-Addressing - action string
Returns:
true in case the wsaAction parameter is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol message

isFault

public boolean isFault(java.lang.String wsaAction)
Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol fault

Parameters:
WS-Addressing - action string
Returns:
true in case the wsaAction parameter is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol fault


Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.