| org.apache.cocoon.selection.AbstractSwitchSelector org.apache.cocoon.selection.SimpleSelector
SimpleSelector | public class SimpleSelector extends AbstractSwitchSelector (Code) | | A very simple selector that operates on string literals, useful especially
in conjunction with input modules. Usage example:
<map:selector name="simple" src="org.apache.cocoon.selection.SimpleSelector"/>
<map:select type="simple">
<map:parameter name="value" value="{request:method}"/>
<map:when test="GET">
...
</map:when>
<map:when test="POST">
...
</map:when>
<map:when test="PUT">
...
</map:when>
<map:otherwise>
...
</map:otherwise>
</map:select>
author: Christian Haul version: CVS $Id: SimpleSelector.java 433543 2006-08-22 06:22:54Z crossley $ since: 2.1 |
getSelectorContext | public Object getSelectorContext(Map objectModel, Parameters parameters)(Code) | | |
Methods inherited from org.apache.cocoon.selection.AbstractSwitchSelector | public boolean select(String expr, Map objectModel, Parameters params)(Code)(Java Doc)
|
|
|