org.apache.cocoon.forms.formmodel
Interface WidgetDefinitionBuilder

All Known Implementing Classes:
AbstractWidgetDefinitionBuilder

public interface WidgetDefinitionBuilder

Interface for classes that can build widgets from an XML description.

These builder classes should be thread safe, only a single instance of them will be created.

Implementations may implement Avalon's Serviceable interface to gain access to other components.

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

Method Summary
 WidgetDefinition buildWidgetDefinition(Element widgetElement)
           
 WidgetDefinition buildWidgetDefinition(Element widgetElement, WidgetDefinitionBuilderContext context)
           
 

Method Detail

buildWidgetDefinition

public WidgetDefinition buildWidgetDefinition(Element widgetElement)
                                       throws Exception
Throws:
Exception

buildWidgetDefinition

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


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