org.apache.cocoon.components.treeprocessor.sitemap
Class CallFunctionNode
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode
- All Implemented Interfaces:
- org.apache.cocoon.sitemap.ExecutionContext, org.apache.cocoon.util.location.Locatable, ParameterizableProcessingNode, ProcessingNode, ThreadSafe
- public class CallFunctionNode
- extends AbstractProcessingNode
- implements ParameterizableProcessingNode
Node handler for calling functions and resuming continuations in
the control flow layer.
- Since:
- March 13, 2002
- Version:
- $Id: CallFunctionNode.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Method Summary |
boolean |
invoke(org.apache.cocoon.environment.Environment env,
InvokeContext context)
Process environment. |
void |
setInterpreter(org.apache.cocoon.components.flow.Interpreter interp)
|
void |
setParameters(Map parameterMap)
Set the parameters of this node as a Map of VariableResolver s
that will be resolved at process-time. |
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 |
parameters
protected Map parameters
functionName
protected VariableResolver functionName
continuationId
protected VariableResolver continuationId
argumentNames
protected String[] argumentNames
interpreter
protected org.apache.cocoon.components.flow.Interpreter interpreter
CallFunctionNode
public CallFunctionNode(VariableResolver functionName,
VariableResolver continuationId,
String[] argumentNames)
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
setInterpreter
public void setInterpreter(org.apache.cocoon.components.flow.Interpreter interp)
throws Exception
- Throws:
Exception
invoke
public 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
- Throws:
Exception
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.