project35.soa.validation
Class DoubleValidator
java.lang.Object
project35.soa.validation.AbstractEditFieldValidationService
project35.soa.validation.NumericValidator
project35.soa.validation.DoubleValidator
- All Implemented Interfaces:
- Serializable, ServiceClass, EditFieldValidationService, FieldValidationService
- Direct Known Subclasses:
- BoundedDoubleValidator
public class DoubleValidator
- extends NumericValidator
Checks whether a field value is a valid double
Copyright (c) Kevin Garwood and University of Manchester 2007.
All rights reserved. Licensed under the Academic Free License
version 3.0. For more information on the terms and conditions,
please see the file "LICENSE" that is included in this distribution.
Copyright (c) 2008 Kevin Garwood for Project35. The original code was
developed by Kevin Garwood for the University of Manchester. Revisions
have been made for Project35, a project that is independent of that
institution. This code is licensed under the Academic Free License
version 3.0. The code attribution for the original code is included here:
Copyright (c) Kevin Garwood and University of Manchester 2007.
All rights reserved. Licensed under the Academic Free License
version 3.0. For more information on the terms and conditions,
please see the file "LICENSE" that is included in this distribution.
- Version:
- 1.0
- Author:
- Kevin Garwood (kgarwood@users.sourceforge.net)
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoubleValidator
public DoubleValidator()
validate
public ArrayList validate(Project35FormContext project35FormContext,
String value)
- Description copied from interface:
EditFieldValidationService
- validates the field value and returns any error messages
- Specified by:
validate in interface EditFieldValidationService- Specified by:
validate in class AbstractEditFieldValidationService
value - the value of the field
- Returns:
- a collection of Alert instances that represent errors,warnings,points of information or
requests for more information
if no errors were found