it.amattioli.guidate.validators
Class PropertyValidator

Show UML class diagram
java.lang.Object
  extended by it.amattioli.guidate.validators.PropertyValidator
All Implemented Interfaces:
org.zkoss.zul.Constraint

public class PropertyValidator
extends Object
implements org.zkoss.zul.Constraint


Constructor Summary
PropertyValidator(String propertyName, Class<?> propertyType)
           
PropertyValidator(String propertyName, String propertyType)
           
 
Method Summary
 void validate(org.zkoss.zk.ui.Component comp, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyValidator

public PropertyValidator(String propertyName,
                         Class<?> propertyType)

PropertyValidator

public PropertyValidator(String propertyName,
                         String propertyType)
Method Detail

validate

public void validate(org.zkoss.zk.ui.Component comp,
                     Object value)
              throws org.zkoss.zk.ui.WrongValueException
Specified by:
validate in interface org.zkoss.zul.Constraint
Throws:
org.zkoss.zk.ui.WrongValueException


Copyright © 2011. All Rights Reserved.