org.apache.cocoon.forms.formmodel
Class RowAction.MoveUpAction
java.lang.Object
org.apache.cocoon.forms.formmodel.AbstractWidget
org.apache.cocoon.forms.formmodel.Action
org.apache.cocoon.forms.formmodel.RowAction
org.apache.cocoon.forms.formmodel.RowAction.MoveUpAction
- All Implemented Interfaces:
- ActionListenerEnabled, Widget, Locatable
- Enclosing class:
- RowAction
public static class RowAction.MoveUpAction
- extends RowAction
Methods inherited from class org.apache.cocoon.forms.formmodel.AbstractWidget |
addValidator, generateDisplayData, generateItemSaxFragment, generateLabel, getAttribute, getChild, getCombinedState, getForm, getFullName, getId, getLocation, getName, getParent, getRequestParameterName, getState, getValue, getWidget, getXMLElementAttributes, initialize, isRequired, lookupWidget, removeAttribute, removeValidator, setAttribute, setParent, setState, setValue, toString, widgetNameChanged |
RowAction.MoveUpAction
public RowAction.MoveUpAction(RowActionDefinition.MoveUpDefinition definition)
generateSaxFragment
public void generateSaxFragment(ContentHandler contentHandler,
Locale locale)
throws SAXException
- Description copied from class:
AbstractWidget
- Generates an XML representation of this widget. The startDocument and endDocument
SAX events will not be called. It is assumed that the prefix for the CForms namespace
mentioned in Constants.FI_PREFIX is already declared (by the caller or otherwise).
This will generate some standard XML consisting of a simple wrapper
element (name provided by
AbstractWidget.getXMLElementName()
) with attributes
(provided by AbstractWidget.getXMLElementAttributes()
around anything injected
in by both AbstractWidget.generateDisplayData(ContentHandler)
and
AbstractWidget.generateItemSaxFragment(ContentHandler, Locale)
.
<fi:AbstractWidget.getXMLElementName()
AbstractWidget.getXMLElementAttributes()
>
AbstractWidget.generateDisplayData(ContentHandler)
(i.e. help, label, ...)
AbstractWidget.generateItemSaxFragment(ContentHandler, Locale)
</fi:AbstractWidget.getXMLElementName()
>
- Specified by:
generateSaxFragment
in interface Widget
- Overrides:
generateSaxFragment
in class AbstractWidget
- Parameters:
contentHandler
- to send the SAX events tolocale
- in which context potential content needs to be put.
- Throws:
SAXException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.