org.apache.cocoon.woody.formmodel
Class ContainerDefinitionDelegate

java.lang.Object
  extended by org.apache.cocoon.woody.formmodel.ContainerDefinitionDelegate

public class ContainerDefinitionDelegate
extends Object

Helper class for the Definition implementation of widgets containing other widgets.

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

Constructor Summary
ContainerDefinitionDelegate(WidgetDefinition definition)
           
 
Method Summary
 void addWidgetDefinition(WidgetDefinition widgetDefinition)
           
 void createWidget(Widget parent, String id)
           
 void createWidgets(Widget parent)
           
 WidgetDefinition getWidgetDefinition(String id)
           
 List getWidgetDefinitions()
           
 boolean hasWidget(String id)
           
 boolean isResolving()
           
 void resolve(List parents, WidgetDefinition parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerDefinitionDelegate

public ContainerDefinitionDelegate(WidgetDefinition definition)
Parameters:
definition - the widget definition to which this container delegate belongs
Method Detail

addWidgetDefinition

public void addWidgetDefinition(WidgetDefinition widgetDefinition)
                         throws DuplicateIdException
Throws:
DuplicateIdException

getWidgetDefinitions

public List getWidgetDefinitions()

hasWidget

public boolean hasWidget(String id)

getWidgetDefinition

public WidgetDefinition getWidgetDefinition(String id)

isResolving

public boolean isResolving()

resolve

public void resolve(List parents,
                    WidgetDefinition parent)
             throws Exception
Throws:
Exception

createWidget

public void createWidget(Widget parent,
                         String id)

createWidgets

public void createWidgets(Widget parent)


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