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>
SP11
public static final SPConstants.SPVersion SP11
SP12
public static final SPConstants.SPVersion SP12
SP13
public static final SPConstants.SPVersion SP13
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.