org.apache.cocoon.components.treeprocessor.sitemap
Class ScriptNode
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
org.apache.cocoon.components.treeprocessor.sitemap.ScriptNode
- All Implemented Interfaces:
- org.apache.cocoon.sitemap.ExecutionContext, org.apache.cocoon.util.location.Locatable, ProcessingNode, ThreadSafe
- public class ScriptNode
- extends AbstractProcessingNode
Handler for <map:script> elements in the sitemap. It registers the
- Since:
- March 13, 2002
- Version:
- $Id: ScriptNode.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Method Summary |
boolean |
invoke(org.apache.cocoon.environment.Environment env,
InvokeContext context)
This method should never be called by the TreeProcessor, since a
element should not be in an "executable" sitemap
node. |
void |
registerScriptWithInterpreter(org.apache.cocoon.components.flow.Interpreter interpreter)
|
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 |
source
protected final String source
ScriptNode
public ScriptNode(String source)
invoke
public boolean invoke(org.apache.cocoon.environment.Environment env,
InvokeContext context)
throws Exception
- This method should never be called by the TreeProcessor, since a
element should not be in an "executable" sitemap
node.
- Parameters:
env
- an Environment
valuecontext
- an InvokeContext
value
- Returns:
- a
boolean
value
- Throws:
Exception
- if an error occurs
registerScriptWithInterpreter
public void registerScriptWithInterpreter(org.apache.cocoon.components.flow.Interpreter interpreter)
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.