org.apache.cocoon.forms.validation.impl
Class EmailValidatorBuilder
java.lang.Object
org.apache.cocoon.forms.datatype.validationruleimpl.AbstractValidationRuleBuilder
org.apache.cocoon.forms.datatype.validationruleimpl.EmailValidationRuleBuilder
org.apache.cocoon.forms.validation.impl.EmailValidatorBuilder
- All Implemented Interfaces:
- Disposable, Serviceable, ThreadSafe, ValidationRuleBuilder, WidgetValidatorBuilder
public class EmailValidatorBuilder
- extends EmailValidationRuleBuilder
- implements WidgetValidatorBuilder, ThreadSafe
Adapter for EmailValidationRuleBuilder
- Version:
- $Id: EmailValidatorBuilder.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmailValidatorBuilder
public EmailValidatorBuilder()
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- See Also:
WidgetValidatorBuilder.build(org.w3c.dom.Element, org.apache.cocoon.forms.formmodel.WidgetDefinition)
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.