public class XercesRegExpEvaluator extends Object implements RegExpEvaluator
Constructor and Description |
---|
XercesRegExpEvaluator()
Creates a new XercesRegExpEvaluator
|
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 XercesRegExpEvaluator()
public void setExpression(String rexpr)
setExpression
in interface RegExpEvaluator
rexpr
- the regular expressionpublic boolean matches(String value)
matches
in interface RegExpEvaluator
value
- the String to check the production ofsetExpression(java.lang.String)
Copyright © 2017. All rights reserved.