net.sf.oval.integration.spring
Class SpringValidator

java.lang.Object
  extended by net.sf.oval.integration.spring.SpringValidator
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.validation.Validator

public class SpringValidator
extends Object
implements org.springframework.validation.Validator, org.springframework.beans.factory.InitializingBean

Author:
Sebastian Thomschke

Constructor Summary
SpringValidator()
           
SpringValidator(Validator validator)
           
 
Method Summary
 void afterPropertiesSet()
          
 Validator getValidator()
           
 void setValidator(Validator validator)
           
 boolean supports(Class clazz)
          
 void validate(Object objectToValidate, 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

SpringValidator

public SpringValidator()

SpringValidator

public SpringValidator(Validator validator)
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception

Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

getValidator

public Validator getValidator()
Returns:
the validator

setValidator

public void setValidator(Validator validator)
Parameters:
validator - the validator to set

supports

public boolean supports(Class clazz)

Specified by:
supports in interface org.springframework.validation.Validator

validate

public void validate(Object objectToValidate,
                     org.springframework.validation.Errors errors)

Specified by:
validate in interface org.springframework.validation.Validator


Copyright © 2005–2015 The OVal Development Team. All rights reserved.