public static enum Rule.PropertyRestriction extends Enum<Rule.PropertyRestriction>
Enum Constant and Description |
---|
CHILD
Property restriction applies to a CHILD validation.
|
NODE
Property restriction applies to a NODE validation.
|
Modifier and Type | Method and Description |
---|---|
static Rule.PropertyRestriction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rule.PropertyRestriction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rule.PropertyRestriction CHILD
public static final Rule.PropertyRestriction NODE
public static Rule.PropertyRestriction[] values()
for (Rule.PropertyRestriction c : Rule.PropertyRestriction.values()) System.out.println(c);
public static Rule.PropertyRestriction 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.