org.exolab.castor.util

Class JakartaOroEvaluator

public class JakartaOroEvaluator extends Object implements 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: 1.1.1.1 $ $Date: 2003/03/03 07:09:05 $

Author: Glenn Nielsen Keith Visco

Constructor Summary
JakartaOroEvaluator()
Creates a new JakartaOroEvaluator
Method Summary
booleanmatches(String value)
Returns true if the given String is matched by the regular expression of this RegExpEvaluator
voidsetExpression(String rexpr)
Sets the regular expression to match against during a call to #matches

Constructor Detail

JakartaOroEvaluator

public JakartaOroEvaluator()
Creates a new JakartaOroEvaluator

Method Detail

matches

public boolean matches(String value)
Returns true if the given String is matched by the regular expression of this RegExpEvaluator

Parameters: value the String to check the production of

Returns: true if the given string matches the regular expression of this RegExpEvaluator

See Also: JakartaOroEvaluator

setExpression

public void setExpression(String rexpr)
Sets the regular expression to match against during a call to #matches

Parameters: rexpr the regular expression

Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com