org.exolab.castor.xml.validators
Class PatternValidator.DefaultRegExpEvaluator
java.lang.Object
org.exolab.castor.xml.validators.PatternValidator.DefaultRegExpEvaluator
- PatternValidator
- RegExpEvaluator
(package private) class PatternValidator.DefaultRegExpEvaluator
extends java.lang.Object
A simple implementation of a regular expression validator which always
returns false.
$Revision: 7273 $ $Date: 2004-12-11 02:13:52 -0700 (Sat, 11 Dec 2004) $
boolean | matches(String value) - Returns true if the given String is matched by the regular expression
of this RegExpEvaluator.
|
void | setExpression(String rexpr) - Sets the regular expression to match against during a call to
matches(String) .
|
DefaultRegExpEvaluator
(package private) DefaultRegExpEvaluator()
Creates a new DefaultRegExpValidator.
matches
public boolean matches(String value)
Returns true if the given String is matched by the regular expression
of this RegExpEvaluator.
- matches in interface RegExpEvaluator
value
- the String to check the production of
- true if the given string matches the regular expression of
this RegExpEvaluator
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com