Package com.crawljax.core.state
Enum Identification.How
- java.lang.Object
-
- java.lang.Enum<Identification.How>
-
- com.crawljax.core.state.Identification.How
-
- All Implemented Interfaces:
Serializable,Comparable<Identification.How>
- Enclosing class:
- Identification
public static enum Identification.How extends Enum<Identification.How>
The method used for identifying elements on the DOM tree.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateHow()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Identification.HowvalueOf(String name)Returns the enum constant of this type with the specified name.static Identification.How[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
xpath
public static final Identification.How xpath
-
name
public static final Identification.How name
-
id
public static final Identification.How id
-
tag
public static final Identification.How tag
-
text
public static final Identification.How text
-
partialText
public static final Identification.How partialText
-
url
public static final Identification.How url
-
-
Method Detail
-
values
public static Identification.How[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Identification.How c : Identification.How.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Identification.How valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-