public abstract class AbstractMatcher
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMatcher(java.util.regex.Pattern value)
Creates a new abstract search matcher.
|
protected |
AbstractMatcher(java.lang.String value)
Creates a new abstract search matcher.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMatcherSymbol()
Return the matcher symbol
|
protected abstract MatcherType |
getMatcherType()
Return the matcher type
|
protected java.util.regex.Pattern |
getPattern()
return the pattern
|
java.lang.String |
getValue()
return the given value
|
boolean |
isCssFilterSupported()
Does this matcher supports CSS filtering.
|
abstract boolean |
isSatisfiedBy(java.lang.String value)
Check if the matcher is matched given the value
|
java.lang.String |
toString() |
protected AbstractMatcher(java.lang.String value)
value - string predicateprotected AbstractMatcher(java.util.regex.Pattern value)
value - regular expression predicatepublic java.lang.String getValue()
public java.lang.String getMatcherSymbol()
public java.lang.String toString()
toString in class java.lang.Objectpublic final boolean isCssFilterSupported()
protected java.util.regex.Pattern getPattern()
protected abstract MatcherType getMatcherType()
public abstract boolean isSatisfiedBy(java.lang.String value)
value - define the object of check nameCopyright © 2018 FluentLenium. All Rights Reserved.