public class SpringValidator extends Object implements IValidator, org.springframework.context.ApplicationContextAware
| 构造器和说明 |
|---|
SpringValidator() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
execute(Object context,
Class type,
Object value,
Rule rule)
要处理的对象
|
org.springframework.context.ApplicationContext |
getApplicationContext() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public boolean execute(Object context, Class type, Object value, Rule rule)
IValidatorexecute 在接口中 IValidatorcontext - 上下文type - 对象类型value - 对象值rule - 对象参数public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic org.springframework.context.ApplicationContext getApplicationContext()
Copyright © 2014. All rights reserved.