org.apache.tapestry.form.validator
Class ValidatorFixture
java.lang.Object
org.apache.tapestry.form.validator.ValidatorFixture
- All Implemented Interfaces:
- org.apache.tapestry.form.FormComponentContributor, org.apache.tapestry.form.validator.Validator
public class ValidatorFixture
- extends Object
- implements org.apache.tapestry.form.validator.Validator
Used by TestValidatorFactory
.
- Since:
- 4.0
- Author:
- Howard Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidatorFixture
public ValidatorFixture()
validate
public void validate(org.apache.tapestry.form.IFormComponent field,
org.apache.tapestry.form.ValidationMessages messages,
Object object)
throws org.apache.tapestry.valid.ValidatorException
- Specified by:
validate
in interface org.apache.tapestry.form.validator.Validator
- Throws:
org.apache.tapestry.valid.ValidatorException
getAcceptsNull
public boolean getAcceptsNull()
- Specified by:
getAcceptsNull
in interface org.apache.tapestry.form.validator.Validator
renderContribution
public void renderContribution(org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle,
org.apache.tapestry.form.FormComponentContributorContext context,
org.apache.tapestry.form.IFormComponent field)
- Specified by:
renderContribution
in interface org.apache.tapestry.form.FormComponentContributor
getMessage
public String getMessage()
setMessage
public void setMessage(String message)
getValue
public String getValue()
setValue
public void setValue(String value)
isRequired
public boolean isRequired()
- Specified by:
isRequired
in interface org.apache.tapestry.form.validator.Validator
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.