RegExpEvaluator
public class AlwaysTrueRegExpEvaluator extends java.lang.Object implements RegExpEvaluator
Constructor | Description |
---|---|
AlwaysTrueRegExpEvaluator() |
Creates a new AlwaysTrueRegExpEvaluator.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
matches(java.lang.String value) |
Returns true if the given String is matched by the regular expression of
this RegExpEvaluator.
|
void |
setExpression(java.lang.String rexpr) |
Sets the regular expression to match against during a call to #matches.
|
public AlwaysTrueRegExpEvaluator()
public void setExpression(java.lang.String rexpr)
setExpression
in interface RegExpEvaluator
rexpr
- the regular expressionpublic boolean matches(java.lang.String value)
matches
in interface RegExpEvaluator
value
- the String to check the production ofsetExpression(java.lang.String)
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com