org.apache.cocoon.components.treeprocessor.sitemap
Class SwitchSelectNode
java.lang.Object
org.apache.avalon.framework.logger.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, Composable, LogEnabled, ThreadSafe, ParameterizableProcessingNode, ProcessingNode, Locatable
public class SwitchSelectNode
- extends SimpleSelectorProcessingNode
- implements ParameterizableProcessingNode, Composable, Disposable
- Version:
- CVS $Id: SwitchSelectNode.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Sylvain Wallez
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
threadSafeSelector
protected SwitchSelector threadSafeSelector
- Pre-selected selector, if it's ThreadSafe
SwitchSelectNode
public SwitchSelectNode(String name)
throws PatternException
- Throws:
PatternException
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)
compose
public void compose(ComponentManager manager)
throws ComponentException
- Specified by:
compose
in interface Composable
- Throws:
ComponentException
invoke
public final boolean invoke(Environment env,
InvokeContext context)
throws Exception
- Description copied from class:
SimpleParentProcessingNode
- Define common invoke behavior here
- Specified by:
invoke
in interface ProcessingNode
- Overrides:
invoke
in class SimpleParentProcessingNode
- Throws:
Exception
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.