Package org.exolab.castor.util
Class JakartaOroEvaluator
java.lang.Object
org.exolab.castor.util.JakartaOroEvaluator
- All Implemented Interfaces:
RegExpEvaluator
An implementation of the RegExpEvaluator that uses the
Jakarta ORO Regular Expression library. For more information
about the Jakarta ORO library please visit:
http://jakarta.apache.org/oro/
- Version:
- $Revision: 8636 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
- Author:
- Glenn Nielsen, Keith Visco
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if the given String is matched by the regular expression of this RegExpEvaluatorvoidsetExpression(String rexpr) Sets the regular expression to match against during a call to #matches
-
Constructor Details
-
JakartaOroEvaluator
public JakartaOroEvaluator()
-
-
Method Details
-
setExpression
Sets the regular expression to match against during a call to #matches- Specified by:
setExpressionin interfaceRegExpEvaluator- Parameters:
rexpr- the regular expression
-
matches
Returns true if the given String is matched by the regular expression of this RegExpEvaluator- Specified by:
matchesin interfaceRegExpEvaluator- Parameters:
value- the String to check the production of- Returns:
- true if the given string matches the regular expression of this RegExpEvaluator
- See Also:
-