public enum Placeholder extends Enum<Placeholder>
| Enum Constant and Description |
|---|
NULL
This might be useful to distinguish the case when a value resolver should
return a value which should be interpreted as a
null. |
| Modifier and Type | Method and Description |
|---|---|
static Placeholder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Placeholder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Placeholder NULL
null.
Normally, a resolver returns null in case it's not
capable of resolving the value.public static Placeholder[] values()
for (Placeholder c : Placeholder.values()) System.out.println(c);
public static Placeholder valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017. All rights reserved.