Public Member Functions | |
| AlwaysTrueRegExpEvaluator () | |
| void | setExpression (String rexpr) |
| boolean | matches (String value) |
A simple implementation of a regular expression validator which always returns true. This class can be used to "supress" validation exceptions when no regular expression validator has been configured.
| org.exolab.castor.xml.util.AlwaysTrueRegExpEvaluator.AlwaysTrueRegExpEvaluator | ( | ) |
Creates a new AlwaysTrueRegExpEvaluator
| boolean org.exolab.castor.xml.util.AlwaysTrueRegExpEvaluator.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.util.AlwaysTrueRegExpEvaluator.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.
1.7.0