public enum SelectorType extends Enum<SelectorType>
| Enum Constant and Description |
|---|
CLASS_NAME |
CSS_SELECTOR |
ID |
LINK_TEXT |
NAME |
NONE |
PARTIAL_LINK_TEXT |
TAG_NAME |
XPATH |
| Modifier and Type | Method and Description |
|---|---|
static SelectorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SelectorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelectorType CLASS_NAME
public static final SelectorType CSS_SELECTOR
public static final SelectorType ID
public static final SelectorType LINK_TEXT
public static final SelectorType NAME
public static final SelectorType PARTIAL_LINK_TEXT
public static final SelectorType TAG_NAME
public static final SelectorType XPATH
public static final SelectorType NONE
public static SelectorType[] values()
for (SelectorType c : SelectorType.values()) System.out.println(c);
public static SelectorType 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 © 2017. All rights reserved.