|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Combinator>
jodd.lagarto.csselly.Combinator
public enum Combinator
CSS selector combinators.
| Enum Constant Summary | |
|---|---|
ADJACENT_SIBLING
The elements represented by the two sequences share the same parent in the document tree and the element represented by the first sequence immediately precedes the element represented by the second one. |
|
CHILD
Describes a childhood relationship between two elements. |
|
DESCENDANT
Describes an arbitrary descendant of some ancestor element |
|
GENERAL_SIBLING
The elements represented by the two sequences share the same parent in the document tree and the element represented by the first sequence precedes (not necessarily immediately) the element represented by the second one. |
|
| Method Summary | |
|---|---|
java.lang.String |
getSign()
Returns combinator sign. |
static Combinator |
valueOf(java.lang.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're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Combinator DESCENDANT
public static final Combinator CHILD
public static final Combinator ADJACENT_SIBLING
public static final Combinator GENERAL_SIBLING
| Method Detail |
|---|
public static final Combinator[] values()
for(Combinator c : Combinator.values())
System.out.println(c);
public static Combinator 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 namepublic java.lang.String getSign()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||