org.apache.cocoon.forms.formmodel
Class FormDefinitionBuilder

java.lang.Object
  extended byorg.apache.cocoon.forms.formmodel.AbstractWidgetDefinitionBuilder
      extended byorg.apache.cocoon.forms.formmodel.AbstractContainerDefinitionBuilder
          extended byorg.apache.cocoon.forms.formmodel.FormDefinitionBuilder
All Implemented Interfaces:
WidgetDefinitionBuilder

public final class FormDefinitionBuilder
extends AbstractContainerDefinitionBuilder

Builds FormDefinitions.

Version:
$Id: FormDefinitionBuilder.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
protected  LibraryManager libraryManager
           
 
Fields inherited from class org.apache.cocoon.forms.formmodel.AbstractWidgetDefinitionBuilder
datatypeManager, expressionManager, widgetDefinitionBuilders, widgetListenerBuilders, widgetValidatorBuilders
 
Constructor Summary
FormDefinitionBuilder()
           
 
Method Summary
 WidgetDefinition buildWidgetDefinition(Element formElement)
           
 WidgetDefinition buildWidgetDefinition(Element widgetElement, WidgetDefinitionBuilderContext context)
           
 void setLibraryManager(LibraryManager libraryManager)
           
 
Methods inherited from class org.apache.cocoon.forms.formmodel.AbstractContainerDefinitionBuilder
setupContainer
 
Methods inherited from class org.apache.cocoon.forms.formmodel.AbstractWidgetDefinitionBuilder
buildAnotherWidgetDefinition, buildEventListeners, setCommonProperties, setCreateListeners, setDatatypeManager, setDisplayData, setExpressionManager, setupDefinition, setValidators, setWidgetDefinitionBuilders, setWidgetListenerBuilders, setWidgetValidatorBuilders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

libraryManager

protected LibraryManager libraryManager
Constructor Detail

FormDefinitionBuilder

public FormDefinitionBuilder()
Method Detail

setLibraryManager

public void setLibraryManager(LibraryManager libraryManager)

buildWidgetDefinition

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

buildWidgetDefinition

public WidgetDefinition buildWidgetDefinition(Element formElement)
                                       throws Exception
Specified by:
buildWidgetDefinition in interface WidgetDefinitionBuilder
Overrides:
buildWidgetDefinition in class AbstractWidgetDefinitionBuilder
Throws:
Exception


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.