public static enum Parser.SetterPolicy extends Enum<Parser.SetterPolicy>
| Enum Constant and Description |
|---|
ALWAYS
Call the setter for all values: Normal, Empty and NULL
|
NOT_EMPTY
Call the setter for values: Normal, but not for Empty and NULL values
|
NOT_NULL
Call the setter for values: Normal and Empty, but not for NULL values
|
| Modifier and Type | Method and Description |
|---|---|
static Parser.SetterPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Parser.SetterPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Parser.SetterPolicy ALWAYS
public static final Parser.SetterPolicy NOT_NULL
public static final Parser.SetterPolicy NOT_EMPTY
public static Parser.SetterPolicy[] values()
for (Parser.SetterPolicy c : Parser.SetterPolicy.values()) System.out.println(c);
public static Parser.SetterPolicy 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 © 2020. All rights reserved.