public class HtmlSeLionElementList extends AbstractSeLionElementList
Modifier and Type | Field and Description |
---|---|
static HtmlSeLionElementList |
BASE_CLASS |
static HtmlSeLionElementList |
BUTTON |
static HtmlSeLionElementList |
CHECK_BOX |
static HtmlSeLionElementList |
CONTAINER |
static HtmlSeLionElementList |
DATE_PICKER |
static HtmlSeLionElementList |
FORM |
static HtmlSeLionElementList |
IMAGE |
static HtmlSeLionElementList |
LABEL |
static HtmlSeLionElementList |
LINK |
static HtmlSeLionElementList |
PAGE_TITLE |
static HtmlSeLionElementList |
RADIO_BUTTON |
static HtmlSeLionElementList |
SELECT_LIST |
static String |
SELION_ELEMENT_CLASS |
static HtmlSeLionElementList |
TABLE |
static HtmlSeLionElementList |
TEXT_FIELD |
Modifier and Type | Method and Description |
---|---|
boolean |
canHaveParent() |
static HtmlSeLionElementList |
findMatch(String rawType) |
static List<GUIObjectDetails> |
getGUIObjectList(List<String> keys)
|
static boolean |
isExactMatch(String element) |
static boolean |
isValid(String element) |
static boolean |
isValidHtmlElement(String element) |
boolean |
looksLike(String key)
This method returns
true if the key that was given ends with the textual value of one of the
elements that are part of HtmlSeLionElementList |
static void |
registerElement(String element)
By providing the qualified name of a custom element we can register it to the element array.
|
String |
toString() |
getElementPackage, isUIElement, stringify
public static final String SELION_ELEMENT_CLASS
public static final HtmlSeLionElementList TEXT_FIELD
public static final HtmlSeLionElementList TABLE
public static final HtmlSeLionElementList SELECT_LIST
public static final HtmlSeLionElementList RADIO_BUTTON
public static final HtmlSeLionElementList BUTTON
public static final HtmlSeLionElementList LINK
public static final HtmlSeLionElementList LABEL
public static final HtmlSeLionElementList IMAGE
public static final HtmlSeLionElementList FORM
public static final HtmlSeLionElementList DATE_PICKER
public static final HtmlSeLionElementList CHECK_BOX
public static final HtmlSeLionElementList CONTAINER
public static final HtmlSeLionElementList BASE_CLASS
public static final HtmlSeLionElementList PAGE_TITLE
public String toString()
toString
in class AbstractSeLionElementList
public static void registerElement(String element)
element
- string of the qualified classpublic static HtmlSeLionElementList findMatch(String rawType)
rawType
- The String using which an attempt to find a matching HtmlSeLionElementList
is to be performed.HtmlSeLionElementList
if the type ends with one of the values of HtmlSeLionElementList
enum (or)
null
if there were no matches.public static boolean isValid(String element)
element
- The element that needs to be tested for being a valid HtmlSeLionElementList
true
if there was a match and false
otherwise.public static boolean isExactMatch(String element)
element
- The element that needs to be searched.true
if the element was found in the set of elements provided.public static boolean isValidHtmlElement(String element)
element
- The element that needs to be tested for being a valid HtmlSeLionElementList
and whose
AbstractSeLionElementList.isUIElement()
returns true.true
if there was a match and false
otherwise.public boolean canHaveParent()
true
if the current element can have a parent to it.public boolean looksLike(String key)
true
if the key that was given ends with the textual value of one of the
elements that are part of HtmlSeLionElementList
looksLike
in class AbstractSeLionElementList
key
- The string that needs to be checked.true
if there was a match.public static List<GUIObjectDetails> getGUIObjectList(List<String> keys)
keys
- keys for which GUIObjectDetails
is to be created.List
of GUIObjectDetails
Copyright © 2016 PayPal Open Source. All rights reserved.