Enum ArrayTypeValidator.ArrayTypeEnum
- java.lang.Object
-
- java.lang.Enum<ArrayTypeValidator.ArrayTypeEnum>
-
- org.verapdf.model.tools.xmp.validators.ArrayTypeValidator.ArrayTypeEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<ArrayTypeValidator.ArrayTypeEnum>
- Enclosing class:
- ArrayTypeValidator
public static enum ArrayTypeValidator.ArrayTypeEnum extends Enum<ArrayTypeValidator.ArrayTypeEnum>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ArrayTypeValidator.ArrayTypeEnum
fromString(String type)
String
getType()
static ArrayTypeValidator.ArrayTypeEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static ArrayTypeValidator.ArrayTypeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BAG
public static final ArrayTypeValidator.ArrayTypeEnum BAG
-
ALT
public static final ArrayTypeValidator.ArrayTypeEnum ALT
-
SEQ
public static final ArrayTypeValidator.ArrayTypeEnum SEQ
-
-
Method Detail
-
values
public static ArrayTypeValidator.ArrayTypeEnum[] 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 (ArrayTypeValidator.ArrayTypeEnum c : ArrayTypeValidator.ArrayTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ArrayTypeValidator.ArrayTypeEnum 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
-
getType
public String getType()
-
fromString
public static ArrayTypeValidator.ArrayTypeEnum fromString(String type)
-
-