org.apache.cocoon.components.treeprocessor.sitemap
Class SwitchSelectNode
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
org.apache.cocoon.components.treeprocessor.SimpleParentProcessingNode
org.apache.cocoon.components.treeprocessor.SimpleSelectorProcessingNode
org.apache.cocoon.components.treeprocessor.sitemap.SwitchSelectNode
- All Implemented Interfaces:
- Disposable, org.apache.cocoon.sitemap.ExecutionContext, org.apache.cocoon.util.location.Locatable, ParameterizableProcessingNode, ProcessingNode, Serviceable, ThreadSafe
- public class SwitchSelectNode
- extends SimpleSelectorProcessingNode
- implements ParameterizableProcessingNode
- Version:
- $Id: SwitchSelectNode.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled |
getLogger, setLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwitchSelectNode
public SwitchSelectNode(String name)
setParameters
public void setParameters(Map parameterMap)
- Description copied from interface:
ParameterizableProcessingNode
- Set the parameters of this node as a
Map
of VariableResolver
s
that will be resolved at process-time.
- Specified by:
setParameters
in interface ParameterizableProcessingNode
setCases
public void setCases(ProcessingNode[][] whenNodes,
VariableResolver[] whenTests,
ProcessingNode[] otherwhiseNodes)
invoke
public final boolean invoke(org.apache.cocoon.environment.Environment env,
InvokeContext context)
throws Exception
- Description copied from interface:
ProcessingNode
- Process environment.
- Specified by:
invoke
in interface ProcessingNode
- Overrides:
invoke
in class SimpleParentProcessingNode
- Throws:
Exception
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.