Package org.apache.wss4j.policy
Enum SPConstants.SPVersion
- java.lang.Object
-
- java.lang.Enum<SPConstants.SPVersion>
-
- 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>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 nameNullPointerException
- 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()
-
-