org.apache.cocoon.woody.formmodel
Class AbstractWidgetDefinitionBuilder
java.lang.Object
org.apache.cocoon.woody.formmodel.AbstractWidgetDefinitionBuilder
- All Implemented Interfaces:
- Disposable, Serviceable, WidgetDefinitionBuilder
- Direct Known Subclasses:
- AbstractDatatypeWidgetDefinitionBuilder, ActionDefinitionBuilder, BooleanFieldDefinitionBuilder, ClassDefinitionBuilder, FormDefinitionBuilder, MessagesDefinitionBuilder, NewDefinitionBuilder, RepeaterActionDefinitionBuilder, RepeaterDefinitionBuilder, RowActionDefinitionBuilder, StructDefinitionBuilder, UnionDefinitionBuilder, UploadDefinitionBuilder
public abstract class AbstractWidgetDefinitionBuilder
- extends Object
- implements WidgetDefinitionBuilder, Serviceable, Disposable
Abstract base class for WidgetDefinitionBuilders. Provides functionality
common to many implementations.
- Version:
- $Id: AbstractWidgetDefinitionBuilder.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 |
widgetDefinitionBuilderSelector
protected ServiceSelector widgetDefinitionBuilderSelector
widgetValidatorBuilderSelector
protected ServiceSelector widgetValidatorBuilderSelector
datatypeManager
protected DatatypeManager datatypeManager
expressionManager
protected ExpressionManager expressionManager
serviceManager
protected ServiceManager serviceManager
AbstractWidgetDefinitionBuilder
public AbstractWidgetDefinitionBuilder()
service
public void service(ServiceManager serviceManager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
setLocation
protected void setLocation(Element widgetElement,
AbstractWidgetDefinition widgetDefinition)
setId
protected void setId(Element widgetElement,
AbstractWidgetDefinition widgetDefinition)
throws Exception
- Throws:
Exception
buildAnotherWidgetDefinition
protected WidgetDefinition buildAnotherWidgetDefinition(Element widgetDefinition)
throws Exception
- Throws:
Exception
buildEventListeners
protected List buildEventListeners(Element widgetElement,
String elementName,
Class listenerClass)
throws Exception
- Throws:
Exception
setDisplayData
protected void setDisplayData(Element widgetElement,
AbstractWidgetDefinition widgetDefinition)
throws Exception
- Throws:
Exception
setValidators
protected void setValidators(Element widgetElement,
AbstractWidgetDefinition widgetDefinition)
throws Exception
- Throws:
Exception
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.