org.apache.cocoon.forms.datatype
Class DynamicSelectionList
java.lang.Object
org.apache.cocoon.forms.datatype.DynamicSelectionList
- All Implemented Interfaces:
- SelectionList
- public class DynamicSelectionList
- extends Object
- implements SelectionList
SelectionList implementation that always reads its content from the source
each time it is requested.
Note: the class SelectionListBuilder
also interprets the same
fd:selection-list
XML, so if anything changes here to how that
XML is interpreted, it also needs to change over there and vice versa.
- Version:
- $Id: DynamicSelectionList.java 326838 2005-10-20 06:26:53Z sylvain $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynamicSelectionList
public DynamicSelectionList(Datatype datatype,
String src,
boolean usePerRequestCache,
ServiceManager serviceManager,
Context context)
- Parameters:
datatype
- src
- usePerRequestCache
- serviceManager
- context
-
DynamicSelectionList
public DynamicSelectionList(Datatype datatype,
String src,
ServiceManager serviceManager)
- Creates a DynamicSelectionList without caching
- Parameters:
datatype
- -src
- -serviceManager
- -
getDatatype
public Datatype getDatatype()
- Specified by:
getDatatype
in interface SelectionList
generateSaxFragment
public void generateSaxFragment(ContentHandler contentHandler,
Locale locale)
throws SAXException
- Specified by:
generateSaxFragment
in interface SelectionList
- Throws:
SAXException
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.