org.apache.cocoon.forms.datatype
Class JavaScriptSelectionList
java.lang.Object
org.apache.cocoon.forms.datatype.JavaScriptSelectionList
- All Implemented Interfaces:
- FilterableSelectionList, org.apache.cocoon.util.location.Locatable, SelectionList
- public class JavaScriptSelectionList
- extends Object
- implements FilterableSelectionList, org.apache.cocoon.util.location.Locatable
A FilterableSelectionList
based on a JavaScript snippet.
- Since:
- 2.1.9
- Version:
- $Id: JavaScriptSelectionList.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Constructor Summary |
JavaScriptSelectionList(org.apache.cocoon.processing.ProcessInfoProvider processInfoProvider,
Datatype type,
org.mozilla.javascript.Function function,
String catalogue,
org.apache.cocoon.util.location.Location location)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaScriptSelectionList
public JavaScriptSelectionList(org.apache.cocoon.processing.ProcessInfoProvider processInfoProvider,
Datatype type,
org.mozilla.javascript.Function function,
String catalogue,
org.apache.cocoon.util.location.Location location)
getLocation
public org.apache.cocoon.util.location.Location getLocation()
- Specified by:
getLocation
in interface org.apache.cocoon.util.location.Locatable
generateSaxFragment
public void generateSaxFragment(ContentHandler contentHandler,
Locale locale)
throws SAXException
- Specified by:
generateSaxFragment
in interface SelectionList
- Throws:
SAXException
generateSaxFragment
public void generateSaxFragment(ContentHandler contentHandler,
Locale locale,
String filter)
throws SAXException
- Description copied from interface:
FilterableSelectionList
- Generates the filtered selection list
- Specified by:
generateSaxFragment
in interface FilterableSelectionList
- Parameters:
contentHandler
- where to stream the XMLlocale
- the locale to be used for value formattingfilter
- the filter string
- Throws:
SAXException
getDatatype
public Datatype getDatatype()
- Specified by:
getDatatype
in interface SelectionList
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.