Public Member Functions

org.exolab.castor.util.RegExpEvaluator Interface Reference

Inheritance diagram for org.exolab.castor.util.RegExpEvaluator:
org.exolab.castor.util.JakartaOroEvaluator org.exolab.castor.util.JakartaRegExpEvaluator org.exolab.castor.xml.util.AlwaysTrueRegExpEvaluator org.exolab.castor.xml.validators.PatternValidator.DefaultRegExpEvaluator

List of all members.

Public Member Functions

boolean matches (String value)
void setExpression (String rexpr)

Detailed Description

A simple interface for evaluating Regular expressions

Author:
Keith Visco
Version:
Revision:
1.1.1.1
Date:
2003/03/03 07:09:06

Member Function Documentation

boolean org.exolab.castor.util.RegExpEvaluator.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:
setExpression

Implemented in org.exolab.castor.util.JakartaOroEvaluator, org.exolab.castor.util.JakartaRegExpEvaluator, org.exolab.castor.xml.util.AlwaysTrueRegExpEvaluator, and org.exolab.castor.xml.validators.PatternValidator.DefaultRegExpEvaluator.

Referenced by org.exolab.castor.xml.validators.PatternValidator.validate().

void org.exolab.castor.util.RegExpEvaluator.setExpression ( String  rexpr  ) 

The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties