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_VALUE
Value that is the Java null reference.ZERO_LENGTH_VALUE
Value with zero length. -
Constructor Summary
Constructors Modifier Constructor Description private
EmptyType()
-
Method Summary
Modifier and Type Method Description static EmptyAttributeValue.EmptyType
valueOf(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 Details
-
NULL_VALUE
Value that is the Java null reference. -
ZERO_LENGTH_VALUE
Value with zero length.
-
-
Constructor Details
-
EmptyType
private EmptyType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-