Package org.opensaml.saml.common.xml
Enum SAMLSchemaBuilder.SAML1Version
- java.lang.Object
-
- java.lang.Enum<SAMLSchemaBuilder.SAML1Version>
-
- org.opensaml.saml.common.xml.SAMLSchemaBuilder.SAML1Version
-
- All Implemented Interfaces:
Serializable
,Comparable<SAMLSchemaBuilder.SAML1Version>
- Enclosing class:
- SAMLSchemaBuilder
public static enum SAMLSchemaBuilder.SAML1Version extends Enum<SAMLSchemaBuilder.SAML1Version>
Identifies which SAML 1.x version is in use.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
SAML1Version()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SAMLSchemaBuilder.SAML1Version
valueOf(String name)
Returns the enum constant of this type with the specified name.static SAMLSchemaBuilder.SAML1Version[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SAML_10
public static final SAMLSchemaBuilder.SAML1Version SAML_10
SAML 1.0.
-
SAML_11
public static final SAMLSchemaBuilder.SAML1Version SAML_11
SAML 1.1.
-
-
Method Detail
-
values
public static SAMLSchemaBuilder.SAML1Version[] 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 (SAMLSchemaBuilder.SAML1Version c : SAMLSchemaBuilder.SAML1Version.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SAMLSchemaBuilder.SAML1Version 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
-
-