public enum CombinatorType extends Enum<CombinatorType>
| Enum Constant and Description |
|---|
ADJACENT
Adjacent sibling (plus)
|
CHILD
Direct child (greater-than)
|
DESCENDANT
Descendant (space)
|
SELF
Self (no space or word break)
|
SIBLING
General sibling (tilde)
|
| Modifier and Type | Method and Description |
|---|---|
static CombinatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CombinatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CombinatorType SELF
public static final CombinatorType DESCENDANT
public static final CombinatorType CHILD
public static final CombinatorType ADJACENT
public static final CombinatorType SIBLING
public static CombinatorType[] values()
for (CombinatorType c : CombinatorType.values()) System.out.println(c);
public static CombinatorType 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 © 2014. All rights reserved.