org.apache.tapestry.form.validator
Class BeanValidatorWrapper

java.lang.Object
  extended byorg.apache.tapestry.form.validator.AbstractValidatorWrapper
      extended byorg.apache.tapestry.form.validator.BeanValidatorWrapper
All Implemented Interfaces:
FormComponentContributor, Validator

public class BeanValidatorWrapper
extends AbstractValidatorWrapper

Implementation of Validator that delegates to a managed bean obtained from a component.

Since:
4.0
Author:
Howard Lewis Ship

Constructor Summary
BeanValidatorWrapper(IComponent component, java.lang.String name)
           
 
Method Summary
protected  Validator getDelegate()
           
 
Methods inherited from class org.apache.tapestry.form.validator.AbstractValidatorWrapper
getAcceptsNull, isRequired, renderContribution, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanValidatorWrapper

public BeanValidatorWrapper(IComponent component,
                            java.lang.String name)
Method Detail

getDelegate

protected Validator getDelegate()
Specified by:
getDelegate in class AbstractValidatorWrapper