org.apache.cocoon.woody.datatype
Class DynamicSelectionList

java.lang.Object
  extended by org.apache.cocoon.woody.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 wd: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.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Nested Class Summary
 class DynamicSelectionList.SelectionListHandler
          XMLConsumer used to handle selection lists generated on the fly.
 
Field Summary
 
Fields inherited from interface org.apache.cocoon.woody.datatype.SelectionList
ITEM_EL, LABEL_EL, SELECTION_LIST_EL
 
Constructor Summary
DynamicSelectionList(Datatype datatype, String src, ServiceManager serviceManager)
           
 
Method Summary
 void generateSaxFragment(ContentHandler contentHandler, Locale locale)
           
 Datatype getDatatype()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicSelectionList

public DynamicSelectionList(Datatype datatype,
                            String src,
                            ServiceManager serviceManager)
Method Detail

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-2010 The Apache Software Foundation. All Rights Reserved.