org.cateproject.controller.common
Class AnnotationValidator
java.lang.Object
org.cateproject.controller.common.AnnotationValidator
- All Implemented Interfaces:
- org.springframework.validation.Validator
@Component
public class AnnotationValidator
- extends Object
- implements org.springframework.validation.Validator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationValidator
public AnnotationValidator()
setAntiSamyService
public void setAntiSamyService(AntiSamyService antiSamyService)
supports
public boolean supports(Class clazz)
- Specified by:
supports in interface org.springframework.validation.Validator
validate
public void validate(Object target,
org.springframework.validation.Errors errors)
- Specified by:
validate in interface org.springframework.validation.Validator
Copyright © 2010. All Rights Reserved.