public class LocatorUtil extends Object
| Constructor and Description |
|---|
LocatorUtil() |
| Modifier and Type | Method and Description |
|---|---|
protected static int |
indexOfIgnoringQuoted(String str,
char find)
Find first occurrence of character that's not inside quotes starting from
the beginning of string.
|
protected static int |
indexOfIgnoringQuoted(String str,
char find,
int startingAt)
Find first occurrence of character that's not inside quotes starting from
specified index.
|
static boolean |
isNotificationElement(String path)
Checks if path refers to vaadin Notification element
com.vaadin.ui.Notification.
|
static boolean |
isUIElement(String path)
Checks if path refers to vaadin UI element com.vaadin.ui.UI.
|
protected static int indexOfIgnoringQuoted(String str, char find, int startingAt)
str - Full string for searchingfind - Character we want to findstartingAt - Index where we startprotected static int indexOfIgnoringQuoted(String str, char find)
str - Full string for searchingfind - Character we want to findpublic static boolean isUIElement(String path)
path - to vaadin elementpublic static boolean isNotificationElement(String path)
path - to vaadin elementCopyright © 2016 Vaadin Ltd. All rights reserved.