Package jp.vmi.selenium.selenese.command
Enum ArgumentType
- java.lang.Object
-
- java.lang.Enum<ArgumentType>
-
- jp.vmi.selenium.selenese.command.ArgumentType
-
- All Implemented Interfaces:
Serializable,Comparable<ArgumentType>
public enum ArgumentType extends Enum<ArgumentType>
Type of command arguments.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTRIBUTE_LOCATORAttribute locator (with '@attribute_name')CSS_LOCATORCSS locator (implies "css=")LOCATORLocatorOPTION_LOCATOROption locatorVALUEValue not locator
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ArgumentTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ArgumentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VALUE
public static final ArgumentType VALUE
Value not locator
-
LOCATOR
public static final ArgumentType LOCATOR
Locator
-
ATTRIBUTE_LOCATOR
public static final ArgumentType ATTRIBUTE_LOCATOR
Attribute locator (with '@attribute_name')
-
CSS_LOCATOR
public static final ArgumentType CSS_LOCATOR
CSS locator (implies "css=")
-
OPTION_LOCATOR
public static final ArgumentType OPTION_LOCATOR
Option locator
-
-
Field Detail
-
argType
public final ArgTypes argType
Argument type of Selenium IDE TNG
-
-
Method Detail
-
values
public static ArgumentType[] 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 (ArgumentType c : ArgumentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ArgumentType 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
-
-