org.exolab.castor.util
Interface RegExpEvaluator
- AlwaysTrueRegExpEvaluator, JakartaOroEvaluator, JakartaRegExpEvaluator, PatternValidator.DefaultRegExpEvaluator, XercesRegExpEvaluator
public interface RegExpEvaluator
A simple interface for evaluating Regular expressions
$Revision: 5951 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $ 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
|
matches
public boolean matches(String value)
Returns true if the given String is matched by the
regular expression of this RegExpEvaluator
value
- the String to check the production of
- true if the given string matches the regular
expression of this RegExpEvaluator
setExpression
public void setExpression(String rexpr)
Sets the regular expression to match against during
a call to #matches
rexpr
- the regular expression
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com