Enum HtmlTable.CellReaderStrategy
- java.lang.Object
-
- java.lang.Enum<HtmlTable.CellReaderStrategy>
-
- net.thucydides.core.pages.components.HtmlTable.CellReaderStrategy
-
- All Implemented Interfaces:
Serializable
,Comparable<HtmlTable.CellReaderStrategy>
- Enclosing class:
- HtmlTable
public static enum HtmlTable.CellReaderStrategy extends Enum<HtmlTable.CellReaderStrategy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GET_TEXT
INNER_TEXT_ATTRIBUTE
OUTER_TEXT_ATTRIBUTE
TEXT_CONTENT_ATTRIBUTE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HtmlTable.CellReaderStrategy
valueOf(String name)
Returns the enum constant of this type with the specified name.static HtmlTable.CellReaderStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GET_TEXT
public static final HtmlTable.CellReaderStrategy GET_TEXT
-
TEXT_CONTENT_ATTRIBUTE
public static final HtmlTable.CellReaderStrategy TEXT_CONTENT_ATTRIBUTE
-
INNER_TEXT_ATTRIBUTE
public static final HtmlTable.CellReaderStrategy INNER_TEXT_ATTRIBUTE
-
OUTER_TEXT_ATTRIBUTE
public static final HtmlTable.CellReaderStrategy OUTER_TEXT_ATTRIBUTE
-
-
Method Detail
-
values
public static HtmlTable.CellReaderStrategy[] 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 (HtmlTable.CellReaderStrategy c : HtmlTable.CellReaderStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HtmlTable.CellReaderStrategy 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
-
-