public static enum Rule.ValidationType extends Enum<Rule.ValidationType>
Enum Constant and Description |
---|
CHILD
Validation relating to children is being done.
|
NODE
Does not validate a specific property or child node type.
|
PROPERTY
A property is being validated.
|
Modifier and Type | Method and Description |
---|---|
static Rule.ValidationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rule.ValidationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rule.ValidationType CHILD
public static final Rule.ValidationType NODE
public static final Rule.ValidationType PROPERTY
public static Rule.ValidationType[] values()
for (Rule.ValidationType c : Rule.ValidationType.values()) System.out.println(c);
public static Rule.ValidationType 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 © 2013–2019. All rights reserved.