public static enum Selector.ChildOrParentSelectorType extends java.lang.Enum<Selector.ChildOrParentSelectorType>
Selector.ChildOrParentSelector
Enum Constant and Description |
---|
CHILD |
CROSSING |
ELEMENT_OF |
PARENT |
SIBLING |
Modifier and Type | Method and Description |
---|---|
static Selector.ChildOrParentSelectorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Selector.ChildOrParentSelectorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Selector.ChildOrParentSelectorType CHILD
public static final Selector.ChildOrParentSelectorType PARENT
public static final Selector.ChildOrParentSelectorType ELEMENT_OF
public static final Selector.ChildOrParentSelectorType CROSSING
public static final Selector.ChildOrParentSelectorType SIBLING
public static Selector.ChildOrParentSelectorType[] values()
for (Selector.ChildOrParentSelectorType c : Selector.ChildOrParentSelectorType.values()) System.out.println(c);
public static Selector.ChildOrParentSelectorType 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 null