org.springmodules.validation.commons
Class AbstractPageBeanValidator
java.lang.Object
org.springmodules.validation.commons.AbstractBeanValidator
org.springmodules.validation.commons.AbstractPageBeanValidator
- All Implemented Interfaces:
- Validator, PageAware
- Direct Known Subclasses:
- ConfigurablePageBeanValidator, DefaultPageBeanValidator
public abstract class AbstractPageBeanValidator
- extends AbstractBeanValidator
- implements PageAware
- Author:
- Uri Boness
Method Summary |
protected void |
cleanupValidator(org.apache.commons.validator.Validator validator)
A callback method that is called just after the validate() method is called on the given validator. |
int |
getPage()
|
protected void |
initValidator(org.apache.commons.validator.Validator validator)
A callback method that is called just before the validate() method is called on the given validator. |
void |
setPage(int page)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractPageBeanValidator
protected AbstractPageBeanValidator()
AbstractPageBeanValidator
protected AbstractPageBeanValidator(int page)
getPage
public int getPage()
- Specified by:
getPage
in interface PageAware
setPage
public void setPage(int page)
initValidator
protected void initValidator(org.apache.commons.validator.Validator validator)
- Description copied from class:
AbstractBeanValidator
- A callback method that is called just before the validate() method is called on the given validator.
This can be used to further configure the validator.
- Overrides:
initValidator
in class AbstractBeanValidator
cleanupValidator
protected void cleanupValidator(org.apache.commons.validator.Validator validator)
- Description copied from class:
AbstractBeanValidator
- A callback method that is called just after the validate() method is called on the given validator.
This method can be used to clean up all the extra configuration added in the
AbstractBeanValidator.initValidator(org.apache.commons.validator.Validator)
method.
- Overrides:
cleanupValidator
in class AbstractBeanValidator
Copyright © 2009. All Rights Reserved.