org.apache.cocoon.forms.formmodel
Class FieldDefinitionBuilder

java.lang.Object
  extended by org.apache.cocoon.forms.formmodel.AbstractWidgetDefinitionBuilder
      extended by org.apache.cocoon.forms.formmodel.AbstractDatatypeWidgetDefinitionBuilder
          extended by org.apache.cocoon.forms.formmodel.FieldDefinitionBuilder
All Implemented Interfaces:
Disposable, Serviceable, WidgetDefinitionBuilder
Direct Known Subclasses:
AggregateFieldDefinitionBuilder, CalculatedFieldDefinitionBuilder, RepeaterFilterFieldDefinitionBuilder

public class FieldDefinitionBuilder
extends AbstractDatatypeWidgetDefinitionBuilder

Builds FieldDefinitions.

Version:
$Id: FieldDefinitionBuilder.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Field Summary
 
Fields inherited from class org.apache.cocoon.forms.formmodel.AbstractWidgetDefinitionBuilder
datatypeManager, expressionManager, serviceManager, widgetDefinitionBuilderSelector, widgetListenerBuilderSelector, widgetValidatorBuilderSelector
 
Constructor Summary
FieldDefinitionBuilder()
           
 
Method Summary
 WidgetDefinition buildWidgetDefinition(Element widgetElement, WidgetDefinitionBuilderContext context)
           
protected  void setupDefinition(Element widgetElement, FieldDefinition definition, WidgetDefinitionBuilderContext context)
           
 
Methods inherited from class org.apache.cocoon.forms.formmodel.AbstractDatatypeWidgetDefinitionBuilder
buildSelectionList, setupDefinition, setupDefinition
 
Methods inherited from class org.apache.cocoon.forms.formmodel.AbstractWidgetDefinitionBuilder
buildAnotherWidgetDefinition, buildEventListeners, buildWidgetDefinition, dispose, service, setCommonProperties, setCreateListeners, setDisplayData, setupDefinition, setValidators
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldDefinitionBuilder

public FieldDefinitionBuilder()
Method Detail

buildWidgetDefinition

public WidgetDefinition buildWidgetDefinition(Element widgetElement,
                                              WidgetDefinitionBuilderContext context)
                                       throws Exception
Throws:
Exception

setupDefinition

protected void setupDefinition(Element widgetElement,
                               FieldDefinition definition,
                               WidgetDefinitionBuilderContext context)
                        throws Exception
Throws:
Exception


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.