com.sun.xml.ws.security.policy
Enum SecurityPolicyVersion

java.lang.Object
  extended by java.lang.Enum<SecurityPolicyVersion>
      extended by com.sun.xml.ws.security.policy.SecurityPolicyVersion
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SecurityPolicyVersion>

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

Author:
ashutosh.shahi@sun.com

Enum Constant Summary
MS_SECURITYPOLICY200507
           
SECURITYPOLICY12NS
           
SECURITYPOLICY200507
           
SECURITYPOLICY200512
           
 
Field Summary
 java.lang.String includeTokenAlways
           
 java.lang.String includeTokenAlwaysToRecipient
           
 java.lang.String includeTokenNever
           
 java.lang.String includeTokenOnce
           
 java.lang.String namespaceUri
           
 
Method Summary
abstract  java.lang.String getIncludeTokenAlways()
           
abstract  java.lang.String getIncludeTokenAlwaysToRecipient()
           
abstract  java.lang.String getIncludeTokenNever()
           
abstract  java.lang.String getIncludeTokenOnce()
           
abstract  java.lang.String getNamespaceURI()
           
static SecurityPolicyVersion valueOf(java.lang.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.
 
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

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 java.lang.String namespaceUri

includeTokenOnce

public final java.lang.String includeTokenOnce

includeTokenNever

public final java.lang.String includeTokenNever

includeTokenAlwaysToRecipient

public final java.lang.String includeTokenAlwaysToRecipient

includeTokenAlways

public final java.lang.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(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

getNamespaceURI

public abstract java.lang.String getNamespaceURI()

getIncludeTokenOnce

public abstract java.lang.String getIncludeTokenOnce()

getIncludeTokenNever

public abstract java.lang.String getIncludeTokenNever()

getIncludeTokenAlwaysToRecipient

public abstract java.lang.String getIncludeTokenAlwaysToRecipient()

getIncludeTokenAlways

public abstract java.lang.String getIncludeTokenAlways()


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