org.jasig.schedassist.web.owner.schedule
Class BlockBuilderFormBackingObjectValidator

java.lang.Object
  extended by org.jasig.schedassist.web.owner.schedule.BlockBuilderFormBackingObjectValidator
All Implemented Interfaces:
org.springframework.validation.Validator

public class BlockBuilderFormBackingObjectValidator
extends Object
implements org.springframework.validation.Validator

Validator implementation for BlockBuilderFormBackingObjects.

Version:
$Id: BlockBuilderFormBackingObjectValidator.java 2713 2010-09-24 20:13:27Z npblair $
Author:
Nicholas Blair, nblair@doit.wisc.edu

Field Summary
protected static Pattern DATE_PATTERN
           
protected static String DATE_REGEX
           
protected static Pattern DAYS_OF_WEEK_PATTERN
           
protected static String DAYS_OF_WEEK_REGEX
           
protected static Pattern TIME_PATTERN
           
protected static String TIME_REGEX
           
 
Constructor Summary
BlockBuilderFormBackingObjectValidator()
           
 
Method Summary
 boolean supports(Class<?> clazz)
           
 void validate(Object command, org.springframework.validation.Errors errors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DAYS_OF_WEEK_REGEX

protected static final String DAYS_OF_WEEK_REGEX
See Also:
Constant Field Values

DATE_REGEX

protected static final String DATE_REGEX
See Also:
Constant Field Values

TIME_REGEX

protected static final String TIME_REGEX
See Also:
Constant Field Values

DAYS_OF_WEEK_PATTERN

protected static final Pattern DAYS_OF_WEEK_PATTERN

DATE_PATTERN

protected static final Pattern DATE_PATTERN

TIME_PATTERN

protected static final Pattern TIME_PATTERN
Constructor Detail

BlockBuilderFormBackingObjectValidator

public BlockBuilderFormBackingObjectValidator()
Method Detail

supports

public boolean supports(Class<?> clazz)
Specified by:
supports in interface org.springframework.validation.Validator

validate

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


Copyright © 2012 Jasig. All Rights Reserved.