org.apache.cocoon.woody.formmodel
Class ContainerDelegate
java.lang.Object
org.apache.cocoon.woody.formmodel.ContainerDelegate
public class ContainerDelegate
- extends Object
Helper class for the implementation of widgets containing other widgets.
- Version:
- $Id: ContainerDelegate.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Timothy Larson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContainerDelegate
public ContainerDelegate(WidgetDefinition definition)
addWidget
public void addWidget(Widget widget)
readFromRequest
public void readFromRequest(FormContext formContext)
validate
public boolean validate(FormContext formContext)
hasWidget
public boolean hasWidget(String id)
getWidget
public Widget getWidget(String id)
iterator
public Iterator iterator()
widgetsHaveValues
public boolean widgetsHaveValues()
- Returns false if there is at least one field which has no value.
generateSaxFragment
public void generateSaxFragment(ContentHandler contentHandler,
Locale locale)
throws SAXException
- Throws:
SAXException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.