|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.exolab.castor.xml.validators.PatternValidator.DefaultRegExpEvaluator
A simple implementation of a regular expression validator which always returns false.
| Constructor Summary | |
(package private) |
PatternValidator.DefaultRegExpEvaluator()
Creates a new DefaultRegExpValidator. |
| Method Summary | |
boolean |
matches(java.lang.String value)
Returns true if the given String is matched by the regular expression of this RegExpEvaluator. |
void |
setExpression(java.lang.String rexpr)
Sets the regular expression to match against during a call to matches(java.lang.String). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
PatternValidator.DefaultRegExpEvaluator()
| Method Detail |
public void setExpression(java.lang.String rexpr)
matches(java.lang.String).
setExpression in interface RegExpEvaluatorrexpr - the regular expressionpublic boolean matches(java.lang.String value)
matches in interface RegExpEvaluatorvalue - the String to check the production of
setExpression(java.lang.String)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||