org.gwtbootstrap3.client.ui.form.validator
Class BlankValidator<T>
java.lang.Object
org.gwtbootstrap3.client.ui.form.validator.BlankValidator<T>
- Type Parameters:
T - the generic type
- All Implemented Interfaces:
- Validator<T>
public class BlankValidator<T>
- extends Object
- implements Validator<T>
Validator for blank field validation.
- Author:
- Steven Jardine
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlankValidator
public BlankValidator()
validate
public List<EditorError> validate(Editor<T> editor,
T value)
- Validate the field.
- Specified by:
validate in interface Validator<T>
- Parameters:
editor - the Editor.value - the value
- Returns:
- the list
getPriority
public int getPriority()
- Priority value for this validator. Lower the number, higher the priority.
- Specified by:
getPriority in interface Validator<T>
- Returns:
- the priority.
Copyright © 2015. All rights reserved.