org.exolab.castor.util
public class XercesRegExpEvaluator extends Object implements RegExpEvaluator
Version: $Revision: 5951 $ $Date: 2006-01-16 13:22:58 -0700 (Mon, 16 Jan 2006) $
Field Summary | |
---|---|
Object | _regexp
The Regular expression
|
Constructor Summary | |
---|---|
XercesRegExpEvaluator()
Creates a new XercesRegExpEvaluator
|
Method Summary | |
---|---|
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
|
Parameters: value the String to check the production of
Returns: true if the given string matches the regular expression of this RegExpEvaluator
See Also: XercesRegExpEvaluator
Parameters: rexpr the regular expression