org.apache.cocoon.components.treeprocessor.sitemap
Class ActTypeNode

java.lang.Object
  extended byorg.apache.cocoon.util.AbstractLogEnabled
      extended byorg.apache.cocoon.components.treeprocessor.AbstractProcessingNode
          extended byorg.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
              extended byorg.apache.cocoon.components.treeprocessor.SimpleParentProcessingNode
                  extended byorg.apache.cocoon.components.treeprocessor.SimpleSelectorProcessingNode
                      extended byorg.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode
All Implemented Interfaces:
Disposable, org.apache.cocoon.sitemap.ExecutionContext, org.apache.cocoon.util.location.Locatable, ParameterizableProcessingNode, ProcessingNode, Serviceable, ThreadSafe

public class ActTypeNode
extends SimpleSelectorProcessingNode
implements ParameterizableProcessingNode

Handles <map:act type="..."> (action-sets calls are handled by ActSetNode).

Version:
$Id: ActTypeNode.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
protected  boolean inActionSet
           
protected  String name
          The 'name' for the variable anchor
protected  VariableResolver source
          The 'src' attribute
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.SimpleParentProcessingNode
children
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
componentName, executor, location
 
Constructor Summary
ActTypeNode(String type, VariableResolver source, String name, boolean inActionSet)
           
 
Method Summary
 boolean invoke(org.apache.cocoon.environment.Environment env, InvokeContext context)
          Process environment.
 void setParameters(Map parameterMap)
          Set the parameters of this node as a Map of VariableResolvers that will be resolved at process-time.
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.SimpleSelectorProcessingNode
dispose, getComponent, releaseComponent, service
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.SimpleParentProcessingNode
hasChildren, setChildren
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
invokeNodes, invokeNodes
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
getLocation, getType, setLocation, setSitemapExecutor
 
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
 
Methods inherited from interface org.apache.cocoon.components.treeprocessor.ProcessingNode
getLocation
 

Field Detail

source

protected VariableResolver source
The 'src' attribute


name

protected String name
The 'name' for the variable anchor


inActionSet

protected boolean inActionSet
Constructor Detail

ActTypeNode

public ActTypeNode(String type,
                   VariableResolver source,
                   String name,
                   boolean inActionSet)
Method Detail

setParameters

public void setParameters(Map parameterMap)
Description copied from interface: ParameterizableProcessingNode
Set the parameters of this node as a Map of VariableResolvers that will be resolved at process-time.

Specified by:
setParameters in interface ParameterizableProcessingNode

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.