org.apache.tapestry.form.validator
Class BeanValidatorWrapper

java.lang.Object
  extended by org.apache.tapestry.form.validator.AbstractValidatorWrapper
      extended by org.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, 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,
                            String name)
Method Detail

getDelegate

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


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.