public enum FieldTypes extends Enum<FieldTypes>
Enum Constant and Description |
---|
BUTTON
For buttons (though current HTML4/XHTML conventions dictate that inputs are used
|
CHECKBOX
For checkbox fields (each accessed separately)
|
CLICKABLE
Final enum for other elements that have onclick listening script events
|
HREF
For anchors whose links we want to click (returning a further page)
|
INPUTBUTTON
for input button fields
|
INPUTFILE
for input file fields
|
INPUTIMAGE
for input image fields
|
INPUTRESET
for input reset fields
|
INPUTSUBMIT
for input submit fields
|
PASSWORD
For password fields
|
RADIOBUTTON
For radiobox fields (each accessed separately)
|
SELECT
For dropdown lists/multiple selects
|
TEXT
For text box fields
|
TEXTAREA
For text area fields
|
Modifier and Type | Method and Description |
---|---|
String |
getPath()
public method that returns the XPath query for retrieving the nodes of the implicit enum value
|
boolean |
hasPath() |
static FieldTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldTypes TEXT
public static final FieldTypes PASSWORD
public static final FieldTypes TEXTAREA
public static final FieldTypes CHECKBOX
public static final FieldTypes RADIOBUTTON
public static final FieldTypes INPUTBUTTON
public static final FieldTypes INPUTFILE
public static final FieldTypes INPUTIMAGE
public static final FieldTypes INPUTSUBMIT
public static final FieldTypes INPUTRESET
public static final FieldTypes SELECT
public static final FieldTypes BUTTON
public static final FieldTypes HREF
public static final FieldTypes CLICKABLE
public static FieldTypes[] values()
for (FieldTypes c : FieldTypes.values()) System.out.println(c);
public static FieldTypes 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 nullpublic boolean hasPath()
public String getPath()
Copyright © 2020 OXPath Team. All rights reserved.