Package net.shibboleth.idp.attribute
Enum EmptyAttributeValue.EmptyType
- java.lang.Object
-
- java.lang.Enum<EmptyAttributeValue.EmptyType>
-
- net.shibboleth.idp.attribute.EmptyAttributeValue.EmptyType
-
- All Implemented Interfaces:
Serializable,Comparable<EmptyAttributeValue.EmptyType>
- Enclosing class:
- EmptyAttributeValue
public static enum EmptyAttributeValue.EmptyType extends Enum<EmptyAttributeValue.EmptyType>
Types of empty values.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NULL_VALUEValue that is the Java null reference.ZERO_LENGTH_VALUEValue with zero length.
-
Constructor Summary
Constructors Modifier Constructor Description privateEmptyType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EmptyAttributeValue.EmptyTypevalueOf(String name)Returns the enum constant of this type with the specified name.static EmptyAttributeValue.EmptyType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULL_VALUE
public static final EmptyAttributeValue.EmptyType NULL_VALUE
Value that is the Java null reference.
-
ZERO_LENGTH_VALUE
public static final EmptyAttributeValue.EmptyType ZERO_LENGTH_VALUE
Value with zero length.
-
-
Method Detail
-
values
public static EmptyAttributeValue.EmptyType[] 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 (EmptyAttributeValue.EmptyType c : EmptyAttributeValue.EmptyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EmptyAttributeValue.EmptyType 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
-
-