org.springmodules.validation.validator
Class EmptyValidator
java.lang.Object
org.springmodules.validation.validator.EmptyValidator
- All Implemented Interfaces:
- Validator
public class EmptyValidator
- extends Object
- implements Validator
A validator that doesn't perform any validation.
- Author:
- Uri Boness
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmptyValidator
public EmptyValidator()
supports
public boolean supports(Class clazz)
- See
Validator.supports(Class)
.
- Specified by:
supports
in interface Validator
- Returns:
true
. This validator supports all classes.
validate
public void validate(Object obj,
Errors errors)
- See
Validator.validate(Object, org.springframework.validation.Errors)
.
Does nothing.
- Specified by:
validate
in interface Validator
Copyright © 2009. All Rights Reserved.