org.apache.wss4j.policy
Enum SPConstants.SPVersion

java.lang.Object
  extended by java.lang.Enum<SPConstants.SPVersion>
      extended by org.apache.wss4j.policy.SPConstants.SPVersion
All Implemented Interfaces:
Serializable, Comparable<SPConstants.SPVersion>
Enclosing class:
SPConstants

public static enum SPConstants.SPVersion
extends Enum<SPConstants.SPVersion>


Enum Constant Summary
SP11
           
SP12
           
SP13
           
 
Method Summary
 String getNamespace()
           
 String getPrefix()
           
 SPConstants getSPConstants()
           
static SPConstants.SPVersion getSPVersion(String namespace)
           
static SPConstants.SPVersion valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SPConstants.SPVersion[] 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

SP11

public static final SPConstants.SPVersion SP11

SP12

public static final SPConstants.SPVersion SP12

SP13

public static final SPConstants.SPVersion SP13
Method Detail

values

public static SPConstants.SPVersion[] 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 (SPConstants.SPVersion c : SPConstants.SPVersion.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SPConstants.SPVersion 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 name
NullPointerException - if the argument is null

getSPVersion

public static SPConstants.SPVersion getSPVersion(String namespace)

getSPConstants

public SPConstants getSPConstants()

getNamespace

public String getNamespace()

getPrefix

public String getPrefix()


Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.