当前页面:
在线文档首页 >
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
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Validators
public Validators()
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()