Public Member Functions | |
void | setExpression (String rexpr) |
boolean | matches (String value) |
Package Functions | |
DefaultRegExpEvaluator () |
A simple implementation of a regular expression validator which always returns false.
org.exolab.castor.xml.validators.PatternValidator.DefaultRegExpEvaluator.DefaultRegExpEvaluator | ( | ) | [package] |
Creates a new DefaultRegExpValidator
boolean org.exolab.castor.xml.validators.PatternValidator.DefaultRegExpEvaluator.matches | ( | String | value | ) |
Returns true if the given String is matched by the regular expression of this RegExpEvaluator
value | the String to check the production of |
Implements org.exolab.castor.util.RegExpEvaluator.
void org.exolab.castor.xml.validators.PatternValidator.DefaultRegExpEvaluator.setExpression | ( | String | rexpr | ) |
Sets the regular expression to match against during a call to matches
rexpr | the regular expression |
Implements org.exolab.castor.util.RegExpEvaluator.