org.apache.cocoon.components.treeprocessor
Class AbstractProcessingNode

java.lang.Object
  extended byorg.apache.cocoon.util.AbstractLogEnabled
      extended byorg.apache.cocoon.components.treeprocessor.AbstractProcessingNode
All Implemented Interfaces:
org.apache.cocoon.sitemap.ExecutionContext, org.apache.cocoon.util.location.Locatable, ProcessingNode, ThreadSafe
Direct Known Subclasses:
AbstractParentProcessingNode, ActionSetNode, AggregateNode, CallFunctionNode, CallNode, FlowNode, MountNode, NullNode, PipelineEventComponentProcessingNode, ReadNode, RedirectToURINode, ScriptNode

public abstract class AbstractProcessingNode
extends org.apache.cocoon.util.AbstractLogEnabled
implements ProcessingNode, org.apache.cocoon.sitemap.ExecutionContext

Base class for ProcessingNode implementations.

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

Field Summary
protected  String componentName
          The type of the component
protected  org.apache.cocoon.sitemap.SitemapExecutor executor
          The sitemap executor
protected  org.apache.cocoon.util.location.Location location
           
 
Constructor Summary
AbstractProcessingNode()
           
AbstractProcessingNode(String type)
           
 
Method Summary
 org.apache.cocoon.util.location.Location getLocation()
          Get the location of this node.
 String getType()
           
 void setLocation(org.apache.cocoon.util.location.Location location)
          Set the location of this node.
 void setSitemapExecutor(org.apache.cocoon.sitemap.SitemapExecutor executor)
          Set the sitemap executor
 
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
invoke
 

Field Detail

location

protected org.apache.cocoon.util.location.Location location

componentName

protected String componentName
The type of the component


executor

protected org.apache.cocoon.sitemap.SitemapExecutor executor
The sitemap executor

Constructor Detail

AbstractProcessingNode

public AbstractProcessingNode()

AbstractProcessingNode

public AbstractProcessingNode(String type)
Method Detail

getLocation

public org.apache.cocoon.util.location.Location getLocation()
Get the location of this node.

Specified by:
getLocation in interface ProcessingNode

setLocation

public void setLocation(org.apache.cocoon.util.location.Location location)
Set the location of this node.


setSitemapExecutor

public void setSitemapExecutor(org.apache.cocoon.sitemap.SitemapExecutor executor)
Set the sitemap executor


getType

public String getType()
Specified by:
getType in interface org.apache.cocoon.sitemap.ExecutionContext


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.