org.apache.cocoon.woody.validation.impl
Class LengthValidatorBuilder
java.lang.Object
org.apache.cocoon.woody.datatype.validationruleimpl.AbstractValidationRuleBuilder
org.apache.cocoon.woody.datatype.validationruleimpl.LengthValidationRuleBuilder
org.apache.cocoon.woody.validation.impl.LengthValidatorBuilder
- All Implemented Interfaces:
- Disposable, Serviceable, ValidationRuleBuilder, WidgetValidatorBuilder
public class LengthValidatorBuilder
- extends LengthValidationRuleBuilder
- implements WidgetValidatorBuilder
Adapter for LengthValidationRuleBuilder
- Version:
- CVS $Id: LengthValidatorBuilder.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Sylvain Wallez
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LengthValidatorBuilder
public LengthValidatorBuilder()
build
public WidgetValidator build(Element validationRuleElement,
WidgetDefinition definition)
throws Exception
- Description copied from interface:
WidgetValidatorBuilder
- Builds a
WidgetValidator
for a particular widget definition.
- Specified by:
build
in interface WidgetValidatorBuilder
- Parameters:
validationRuleElement
- the DOM element defining the validatordefinition
- the widget definition the validator will have to validate.
This may be used to check applicability of the validator to the widget.
- Returns:
- A
WidgetValidator
- Throws:
Exception
- if some problem occurs
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.