net.sf.beanform.validator
Class NumberValidator
java.lang.Object
org.apache.tapestry.form.validator.BaseValidator
net.sf.beanform.validator.AbstractNumberValidator
net.sf.beanform.validator.NumberValidator
- All Implemented Interfaces:
- FormComponentContributor, Validator
public class NumberValidator
- extends AbstractNumberValidator
Validates that values are any kind of number.
- Author:
- Daniel Gredler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final String NAME
- See Also:
- Constant Field Values
NumberValidator
public NumberValidator()
parseNumber
protected void parseNumber(String s)
- Specified by:
parseNumber
in class AbstractNumberValidator
buildMessage
protected String buildMessage(IFormComponent field,
Locale locale)
- Specified by:
buildMessage
in class AbstractNumberValidator
Copyright © 2006 Daniel Gredler. All Rights Reserved.