Package io.fluentlenium.core.filter
Class MatcherConstructor
java.lang.Object
io.fluentlenium.core.filter.MatcherConstructor
Matcher constructors.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AbstractMatcher
Create a matcher for a containing stringstatic AbstractMatcher
Create a matcher for a containing patternstatic AbstractMatcher
Create a matcher filtering by a string that ends with the matcherstatic AbstractMatcher
Create a matcher filtering by a string that ends with the patternstatic AbstractMatcher
Create a matcher to equal the string matcherstatic AbstractMatcher
notContains
(String matcher) Create a matcher for not containing a stringstatic AbstractMatcher
notContains
(Pattern pattern) Create a matcher for not containing the patternstatic AbstractMatcher
notEndsWith
(String matcher) Create a matcher filtering by a string that not ends with the string paramsstatic AbstractMatcher
notEndsWith
(Pattern pattern) Create a matcher filtering by a string that not ends with the pattern paramsstatic AbstractMatcher
notStartsWith
(String matcher) Create a matcher filtering by a string that not starts with the string paramsstatic AbstractMatcher
notStartsWith
(Pattern pattern) Create a matcher filtering by a string that not starts with the pattern paramsstatic Pattern
Create a Pattern given a regex.static AbstractMatcher
startsWith
(String matcher) Create a matcher filtering by a string that start with the matcherstatic AbstractMatcher
startsWith
(Pattern pattern) Create a matcher filtering by a string that start with the matcher
-
Method Details
-
contains
Create a matcher for a containing string- Parameters:
matcher
- string matcher- Returns:
- matcher object
-
contains
Create a matcher for a containing pattern- Parameters:
pattern
- pattern object- Returns:
- matcher object
-
notContains
Create a matcher for not containing a string- Parameters:
matcher
- string matcher- Returns:
- matcher object
-
notContains
Create a matcher for not containing the pattern- Parameters:
pattern
- string pattern- Returns:
- matcher object
-
equal
Create a matcher to equal the string matcher- Parameters:
matcher
- string matcher- Returns:
- matcher object
-
regex
Create a Pattern given a regex. The regex is compile.- Parameters:
pattern
- string pattern- Returns:
- pattern
-
startsWith
Create a matcher filtering by a string that start with the matcher- Parameters:
matcher
- string matcher- Returns:
- matcher object
-
startsWith
Create a matcher filtering by a string that start with the matcher- Parameters:
pattern
- pattern- Returns:
- matcher object
-
endsWith
Create a matcher filtering by a string that ends with the matcher- Parameters:
matcher
- string matcher- Returns:
- matcher
-
endsWith
Create a matcher filtering by a string that ends with the pattern- Parameters:
pattern
- pattern- Returns:
- matcher
-
notStartsWith
Create a matcher filtering by a string that not starts with the string params- Parameters:
matcher
- string matcher- Returns:
- matcher
-
notStartsWith
Create a matcher filtering by a string that not starts with the pattern params- Parameters:
pattern
- pattern- Returns:
- matcher
-
notEndsWith
Create a matcher filtering by a string that not ends with the string params- Parameters:
matcher
- string matcher- Returns:
- matcher
-
notEndsWith
Create a matcher filtering by a string that not ends with the pattern params- Parameters:
pattern
- pattern- Returns:
- matcher
-