站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.1.1 API 英文版文档

Validators (JBoss Seam API Documentation) - JBoss Seam 1.1.1 API 英文版文档


org.jboss.seam.core
Class Validators

java.lang.Object
  extended by org.jboss.seam.core.Validators

@Name(value="org.jboss.seam.core.validators")
@Intercept(value=NEVER)
@Scope(value=APPLICATION)
@Install(precedence=0)
public class Validators
extends Object

Caches instances of Hibernate Validator ClassValidator

Author:
Gavin King

Constructor Summary
Validators()
           
 
Method Summary
 org.hibernate.validator.ClassValidator createValidator(Class modelClass, String name)
           
 org.hibernate.validator.ClassValidator getValidator(Class modelClass, String name)
           
static Validators instance()
           
 org.hibernate.validator.InvalidValue[] validate(javax.faces.context.FacesContext context, String propertyExpression, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Validators

public Validators()
Method Detail

getValidator

public org.hibernate.validator.ClassValidator getValidator(Class modelClass,
                                                           String name)

createValidator

public org.hibernate.validator.ClassValidator createValidator(Class modelClass,
                                                              String name)

validate

public org.hibernate.validator.InvalidValue[] validate(javax.faces.context.FacesContext context,
                                                       String propertyExpression,
                                                       Object value)

instance

public static Validators instance()