This project has retired. For details please refer to its
Attic page.
Group (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.forms.formmodel
Class Group
java.lang.Object
org.apache.cocoon.forms.formmodel.AbstractWidget
org.apache.cocoon.forms.formmodel.AbstractContainerWidget
org.apache.cocoon.forms.formmodel.Group
- All Implemented Interfaces:
- ContainerWidget, Widget, Locatable
- Direct Known Subclasses:
- Struct
public class Group
- extends AbstractContainerWidget
A container Widget which can hold zero or more child widgets.
- Version:
- $Id: Group.html 1304258 2012-03-23 10:09:27Z ilgrosso $
| Methods inherited from class org.apache.cocoon.forms.formmodel.AbstractWidget |
addValidator, broadcastEvent, generateDisplayData, generateLabel, generateSaxFragment, getAttribute, getCombinedState, getForm, getFullName, getId, getLocation, getName, getParent, getRequestParameterName, getState, getValue, getWidget, getXMLElementAttributes, isRequired, isValid, lookupWidget, removeAttribute, removeValidator, setAttribute, setParent, setState, setValue, toString, widgetNameChanged |
| Methods inherited from interface org.apache.cocoon.forms.formmodel.Widget |
addValidator, broadcastEvent, generateLabel, generateSaxFragment, getAttribute, getCombinedState, getForm, getFullName, getId, getLocation, getName, getParent, getRequestParameterName, getState, getValue, getWidget, isRequired, isValid, lookupWidget, removeAttribute, removeValidator, setAttribute, setParent, setState, setValue |
Group
public Group(GroupDefinition definition)
getDefinition
public WidgetDefinition getDefinition()
- Description copied from class:
AbstractWidget
- Concrete subclasses should allow access to their underlaying Definition
through this method.
If subclasses decide to return
null they should also organize
own implementations of AbstractWidget.getId(), AbstractWidget.getLocation(),
AbstractWidget.validate(), AbstractWidget.generateLabel(ContentHandler) and
AbstractWidget.generateDisplayData(ContentHandler) to avoid NPE's.
- Specified by:
getDefinition in interface Widget- Specified by:
getDefinition in class AbstractWidget
- Returns:
- the widgetDefinition from which this widget was instantiated.
(See
WidgetDefinition.createInstance())
getXMLElementName
public String getXMLElementName()
- Description copied from class:
AbstractWidget
- The XML element name used in
AbstractWidget.generateSaxFragment(ContentHandler, Locale)
to produce the wrapping element for all the XML-instance-content of this Widget.
- Specified by:
getXMLElementName in class AbstractWidget
- Returns:
- "group"
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.