org.exolab.castor.util
Class JakartaRegExpEvaluator
java.lang.Object
org.exolab.castor.util.JakartaRegExpEvaluator
- RegExpEvaluator
public class JakartaRegExpEvaluator
extends java.lang.Object
An implementation of the RegExpEvaluator that uses the
Jakarta Regular Expression library. For more information
about the Jakarta RE library please visit:
http://jakarta.apache.org/regexp/
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:05 $
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
|
JakartaRegExpEvaluator
public JakartaRegExpEvaluator()
Creates a new JakartaRegExpEvaluator
matches
public boolean matches(String value)
Returns true if the given String is matched by the
regular expression of this RegExpEvaluator
- matches in interface 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
- setExpression in interface RegExpEvaluator
rexpr
- the regular expression
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com