public enum Combinator extends Enum<Combinator>
Combinator enum.
| Enum Constant and Description |
|---|
CHILD_COMBINATOR
CHILD_COMBINATOR (>).
|
DESCENDANT_COMBINATOR
DESCENDANT_COMBINATOR ( ).
|
NEXT_SIBLING_COMBINATOR
NEXT_SIBLING_COMBINATOR (+).
|
SUBSEQUENT_SIBLING_COMBINATOR
SUBSEQUENT_SIBLING_COMBINATOR (~).
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Combinator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Combinator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Combinator DESCENDANT_COMBINATOR
public static final Combinator CHILD_COMBINATOR
public static final Combinator NEXT_SIBLING_COMBINATOR
public static final Combinator SUBSEQUENT_SIBLING_COMBINATOR
public static Combinator[] values()
for (Combinator c : Combinator.values()) System.out.println(c);
public static Combinator 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 nullpublic String toString()
toString in class Enum<Combinator>Copyright © 2025 HtmlUnit. All rights reserved.