Class AbstractMatcher
java.lang.Object
io.fluentlenium.core.filter.matcher.AbstractMatcher
- Direct Known Subclasses:
ContainsMatcher
,ContainsWordMatcher
,EndsWithMatcher
,EqualMatcher
,NotContainsMatcher
,NotEndsWithMatcher
,NotStartsWithMatcher
,StartsWithMatcher
Abstract search matcher.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractMatcher
(String value) Creates a new abstract search matcher.protected
AbstractMatcher
(Pattern value) Creates a new abstract search matcher. -
Method Summary
Modifier and TypeMethodDescriptionReturn the matcher symbolprotected abstract MatcherType
Return the matcher typeprotected Pattern
return the patterngetValue()
return the given valuefinal boolean
Does this matcher supports CSS filtering.abstract boolean
isSatisfiedBy
(String value) Check if the matcher is matched given the valuetoString()
-
Constructor Details
-
AbstractMatcher
Creates a new abstract search matcher.- Parameters:
value
- string predicate
-
AbstractMatcher
Creates a new abstract search matcher.- Parameters:
value
- regular expression predicate
-
-
Method Details
-
getValue
return the given value- Returns:
- value of matcher
-
getMatcherSymbol
Return the matcher symbol- Returns:
- matcher symbol
-
toString
-
isCssFilterSupported
public final boolean isCssFilterSupported()Does this matcher supports CSS filtering.- Returns:
- true if css filtering is supported, false otherwise
-
getPattern
return the pattern- Returns:
- pattern
-
getMatcherType
Return the matcher type- Returns:
- matcher type
-
isSatisfiedBy
Check if the matcher is matched given the value- Parameters:
value
- define the object of check name- Returns:
- boolean value for isSatisfiedBy
-