Package io.fluentlenium.core.filter
Class MatcherConstructor
java.lang.Object
io.fluentlenium.core.filter.MatcherConstructor
Matcher constructors.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AbstractMatcherCreate a matcher for a containing stringstatic AbstractMatcherCreate a matcher for a containing patternstatic AbstractMatcherCreate a matcher filtering by a string that ends with the matcherstatic AbstractMatcherCreate a matcher filtering by a string that ends with the patternstatic AbstractMatcherCreate a matcher to equal the string matcherstatic AbstractMatchernotContains(String matcher) Create a matcher for not containing a stringstatic AbstractMatchernotContains(Pattern pattern) Create a matcher for not containing the patternstatic AbstractMatchernotEndsWith(String matcher) Create a matcher filtering by a string that not ends with the string paramsstatic AbstractMatchernotEndsWith(Pattern pattern) Create a matcher filtering by a string that not ends with the pattern paramsstatic AbstractMatchernotStartsWith(String matcher) Create a matcher filtering by a string that not starts with the string paramsstatic AbstractMatchernotStartsWith(Pattern pattern) Create a matcher filtering by a string that not starts with the pattern paramsstatic PatternCreate a Pattern given a regex.static AbstractMatcherstartsWith(String matcher) Create a matcher filtering by a string that start with the matcherstatic AbstractMatcherstartsWith(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
-