Package com.sun.xml.ws.security.policy
Enum SecurityPolicyVersion
- java.lang.Object
-
- java.lang.Enum<SecurityPolicyVersion>
-
- com.sun.xml.ws.security.policy.SecurityPolicyVersion
-
- All Implemented Interfaces:
Serializable
,Comparable<SecurityPolicyVersion>
public enum SecurityPolicyVersion extends Enum<SecurityPolicyVersion>
- Author:
- [email protected]
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MS_SECURITYPOLICY200507
SECURITYPOLICY12NS
SECURITYPOLICY200507
SECURITYPOLICY200512
-
Field Summary
Fields Modifier and Type Field Description String
includeTokenAlways
String
includeTokenAlwaysToRecipient
String
includeTokenNever
String
includeTokenOnce
String
namespaceUri
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
getIncludeTokenAlways()
abstract String
getIncludeTokenAlwaysToRecipient()
abstract String
getIncludeTokenNever()
abstract String
getIncludeTokenOnce()
abstract String
getNamespaceURI()
static SecurityPolicyVersion
valueOf(String name)
Returns the enum constant of this type with the specified name.static SecurityPolicyVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SECURITYPOLICY200507
public static final SecurityPolicyVersion SECURITYPOLICY200507
-
SECURITYPOLICY12NS
public static final SecurityPolicyVersion SECURITYPOLICY12NS
-
SECURITYPOLICY200512
public static final SecurityPolicyVersion SECURITYPOLICY200512
-
MS_SECURITYPOLICY200507
public static final SecurityPolicyVersion MS_SECURITYPOLICY200507
-
-
Field Detail
-
namespaceUri
public final String namespaceUri
-
includeTokenOnce
public final String includeTokenOnce
-
includeTokenNever
public final String includeTokenNever
-
includeTokenAlwaysToRecipient
public final String includeTokenAlwaysToRecipient
-
includeTokenAlways
public final String includeTokenAlways
-
-
Method Detail
-
values
public static SecurityPolicyVersion[] 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 (SecurityPolicyVersion c : SecurityPolicyVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SecurityPolicyVersion 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
-
getNamespaceURI
public abstract String getNamespaceURI()
-
getIncludeTokenOnce
public abstract String getIncludeTokenOnce()
-
getIncludeTokenNever
public abstract String getIncludeTokenNever()
-
getIncludeTokenAlwaysToRecipient
public abstract String getIncludeTokenAlwaysToRecipient()
-
getIncludeTokenAlways
public abstract String getIncludeTokenAlways()
-
-