public class AlwaysTrueRegExpEvaluator extends Object implements RegExpEvaluator
| Constructor and Description |
|---|
AlwaysTrueRegExpEvaluator()
Creates a new AlwaysTrueRegExpEvaluator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(String value)
Returns true if the given String is matched by the regular expression of this RegExpEvaluator.
|
void |
setExpression(String rexpr)
Sets the regular expression to match against during a call to #matches.
|
public AlwaysTrueRegExpEvaluator()
public void setExpression(String rexpr)
setExpression in interface RegExpEvaluatorrexpr - the regular expressionpublic boolean matches(String value)
matches in interface RegExpEvaluatorvalue - the String to check the production ofsetExpression(java.lang.String)Copyright © 2016. All rights reserved.