public enum Optionality extends java.lang.Enum<Optionality>
Enum Constant and Description |
---|
OPTIONAL |
PROHIBITED |
REQUIRED |
Modifier and Type | Method and Description |
---|---|
static Optionality |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Optionality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Optionality REQUIRED
public static final Optionality OPTIONAL
public static final Optionality PROHIBITED
public static Optionality[] values()
for (Optionality c : Optionality.values()) System.out.println(c);
public static Optionality valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.