org.zkoss.bind.validator
Class BeanValidations

java.lang.Object
  extended by org.zkoss.bind.validator.BeanValidations

public class BeanValidations
extends java.lang.Object

A utility class to help jsr 303 validation.

Since:
6.0.0
Author:
dennis

Constructor Summary
BeanValidations()
           
 
Method Summary
static javax.validation.Validator getValidator()
           
static
<T> java.util.Set<javax.validation.ConstraintViolation<T>>
validate(java.lang.Class<T> clazz, java.lang.String propName, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanValidations

public BeanValidations()
Method Detail

getValidator

public static javax.validation.Validator getValidator()

validate

public static <T> java.util.Set<javax.validation.ConstraintViolation<T>> validate(java.lang.Class<T> clazz,
                                                                                  java.lang.String propName,
                                                                                  java.lang.Object value)


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo