magoffin.matt.ma2.validation
Class UserValidator

java.lang.Object
  extended by magoffin.matt.ma2.validation.UserValidator
All Implemented Interfaces:
org.springframework.validation.Validator
Direct Known Subclasses:
EditUserValidator

public class UserValidator
extends java.lang.Object
implements org.springframework.validation.Validator

Validation for a user object.

Version:
$Revision: 43 $ $Date: 2007-10-21 11:10:01 +1300 (Sun, 21 Oct 2007) $
Author:
Matt Magoffin (spamsqr@msqr.us)

Constructor Summary
UserValidator()
           
 
Method Summary
 boolean supports(java.lang.Class clazz)
           
 void validate(java.lang.Object obj, org.springframework.validation.Errors errors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserValidator

public UserValidator()
Method Detail

supports

public boolean supports(java.lang.Class clazz)
Specified by:
supports in interface org.springframework.validation.Validator

validate

public void validate(java.lang.Object obj,
                     org.springframework.validation.Errors errors)
Specified by:
validate in interface org.springframework.validation.Validator