org.apache.cocoon.forms.util |
|
Java Source File Name | Type | Comment |
CombiningMap.java | Class | A read-only implementation of Map that combines several other maps. |
ContainerWidgetAsMap.java | Class | A Map view of a container widget, keys being children names and values either
maps (for container children), objects (for terminal children) or lists (for repeaters).
The returned map is non-modifiable, except using the put() method, which much
refer to an existing child widget, and putAll(Map) that will silently ignore keys
that don't refer to existing child widgets.
Also, this map accepts getting and setting values for keys that correspond to value-less widgets
such as
org.apache.cocoon.forms.formmodel.Action . |
DomHelper.java | Class | Helper class to create and retrieve information from DOM-trees. |
FOM_SimpleCocoon.java | Class | A simplified javascript cocoon object to use when using javaflow. |
I18nMessage.java | Class | A XMLizable implementation that will produce SAX events for the
I18nTransformer in its toSAX method, based on the information
given in the constructor.
This generates an autonomous SAX-blurb, i.e. |
JavaScriptHelper.java | Class | Helper methods to use JavaScript in various locations of the Cocoon Forms configuration files
such as event listeners and bindings. |
RepeaterAsList.java | Class | A List view of a
Repeater , each element of the list being a Map
wrapping a repeater row, as defined by
ContainerWidgetAsMap .
This implementation of list supports all methods, with the following restrictions:
- values stored in the list must be
Map s, that will be used with
ContainerWidgetAsMap.putAll(Map) on the Map representation of the repeater rows,
- operations that involve testing equality with the list contents (e.g.
|
SimpleServiceSelector.java | Class | A very simple ServiceSelector for ThreadSafe services. |
StringMessage.java | Class | A string in an XMLizable form. |
WidgetFinder.java | Class | An utility class to manage list of widgets.
The
org.apache.cocoon.forms.formmodel.Widget.lookupWidget(String) method is able
to only return one widget, while this class returns a list of widgets. |
XMLAdapter.java | Class | Adapter class that wraps a Form object and makes it
possible to populate a widget hierarchy from XML in form of SAX
events and serialize the content of the widget hierarchy as XML.
The XML format is such that there is one XML element for each
widget and the element get the widgets id as name. |