org.apache.cocoon.components.treeprocessor.sitemap
Class CallFunctionNode
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode
- All Implemented Interfaces:
- Composable, Configurable, LogEnabled, ThreadSafe, ProcessingNode, Locatable
public class CallFunctionNode
- extends AbstractProcessingNode
- implements Configurable, Composable
Node handler for calling functions and resuming continuations in
the control flow layer.
- Since:
- March 13, 2002
- Version:
- CVS $Id: CallFunctionNode.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Ovidiu Predescu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parameters
protected List parameters
functionName
protected VariableResolver functionName
continuationId
protected VariableResolver continuationId
manager
protected ComponentManager manager
interpreter
protected Interpreter interpreter
CallFunctionNode
public CallFunctionNode(VariableResolver functionName,
VariableResolver continuationId)
resolveList
public static List resolveList(List expressions,
ComponentManager manager,
InvokeContext context,
Map objectModel)
throws PatternException
- Throws:
PatternException
setInterpreter
public void setInterpreter(Interpreter interp)
throws Exception
- Throws:
Exception
configure
public void configure(Configuration config)
throws ConfigurationException
- Obtain the configuration specific to this node type and update
the internal state.
- Specified by:
configure
in interface Configurable
- Parameters:
config
- a Configuration
value
- Throws:
ConfigurationException
- if an error occurs
compose
public void compose(ComponentManager manager)
- Specified by:
compose
in interface Composable
invoke
public boolean invoke(Environment env,
InvokeContext context)
throws Exception
- Description copied from interface:
ProcessingNode
- Process environment.
- Specified by:
invoke
in interface ProcessingNode
- Throws:
Exception
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.