com.sun.xml.ws.rm.policy.assertion
Enum AssertionNamespace
java.lang.Object
java.lang.Enum<AssertionNamespace>
com.sun.xml.ws.rm.policy.assertion.AssertionNamespace
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<AssertionNamespace>
public enum AssertionNamespace
- extends java.lang.Enum<AssertionNamespace>
Class contains constants for policy namespaces used by this RM implementation.
Method Summary |
javax.xml.namespace.QName |
getQName(java.lang.String name)
|
static java.util.List<java.lang.String> |
namespacesList()
|
java.lang.String |
prefix()
|
java.lang.String |
toString()
|
static AssertionNamespace |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AssertionNamespace[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
WSRMP_200502
public static final AssertionNamespace WSRMP_200502
WSRMP_200702
public static final AssertionNamespace WSRMP_200702
WSMC_200702
public static final AssertionNamespace WSMC_200702
MICROSOFT_200502
public static final AssertionNamespace MICROSOFT_200502
MICROSOFT_200702
public static final AssertionNamespace MICROSOFT_200702
SUN_200603
public static final AssertionNamespace SUN_200603
SUN_CLIENT_200603
public static final AssertionNamespace SUN_CLIENT_200603
values
public static final AssertionNamespace[] 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(AssertionNamespace c : AssertionNamespace.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static AssertionNamespace 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
namespacesList
public static java.util.List<java.lang.String> namespacesList()
prefix
public java.lang.String prefix()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<AssertionNamespace>
getQName
public javax.xml.namespace.QName getQName(java.lang.String name)