org.apache.cocoon.woody.validation.impl
Class Mod10ValidatorBuilder

java.lang.Object
  extended by org.apache.cocoon.woody.datatype.validationruleimpl.AbstractValidationRuleBuilder
      extended by org.apache.cocoon.woody.datatype.validationruleimpl.Mod10ValidationRuleBuilder
          extended by org.apache.cocoon.woody.validation.impl.Mod10ValidatorBuilder
All Implemented Interfaces:
Disposable, Serviceable, ValidationRuleBuilder, WidgetValidatorBuilder

public class Mod10ValidatorBuilder
extends Mod10ValidationRuleBuilder
implements WidgetValidatorBuilder

Adapter for Mod10ValidationRuleBuilder

Version:
CVS $Id: Mod10ValidatorBuilder.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Sylvain Wallez

Field Summary
 
Fields inherited from class org.apache.cocoon.woody.datatype.validationruleimpl.AbstractValidationRuleBuilder
expressionManager, serviceManager
 
Fields inherited from interface org.apache.cocoon.woody.validation.WidgetValidatorBuilder
ROLE
 
Constructor Summary
Mod10ValidatorBuilder()
           
 
Method Summary
 WidgetValidator build(Element validationRuleElement, WidgetDefinition definition)
          Builds a WidgetValidator for a particular widget definition.
 
Methods inherited from class org.apache.cocoon.woody.datatype.validationruleimpl.Mod10ValidationRuleBuilder
build
 
Methods inherited from class org.apache.cocoon.woody.datatype.validationruleimpl.AbstractValidationRuleBuilder
buildFailMessage, dispose, parseExpression, service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mod10ValidatorBuilder

public Mod10ValidatorBuilder()
Method Detail

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 validator
definition - 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.