org.apache.cocoon.components.treeprocessor
Class SimpleParentProcessingNode

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
All Implemented Interfaces:
org.apache.cocoon.sitemap.ExecutionContext, org.apache.cocoon.util.location.Locatable, ProcessingNode, ThreadSafe
Direct Known Subclasses:
ActSetNode, ContainerNode, PipelinesNode, SimpleSelectorProcessingNode

public abstract class SimpleParentProcessingNode
extends AbstractParentProcessingNode

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

Field Summary
protected  ProcessingNode[] children
          The children of this node
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
componentName, executor, location
 
Constructor Summary
SimpleParentProcessingNode(String type)
           
 
Method Summary
 boolean hasChildren()
          Boolean method with returns true if this Node has children and false otherwise.
 boolean invoke(org.apache.cocoon.environment.Environment env, InvokeContext context)
          Define common invoke behavior here
 void setChildren(ProcessingNode[] children)
           
 
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
 

Field Detail

children

protected ProcessingNode[] children
The children of this node

Constructor Detail

SimpleParentProcessingNode

public SimpleParentProcessingNode(String type)
Method Detail

setChildren

public void setChildren(ProcessingNode[] children)

hasChildren

public boolean hasChildren()
Boolean method with returns true if this Node has children and false otherwise.

Returns:
boolean true if has children.

invoke

public boolean invoke(org.apache.cocoon.environment.Environment env,
                      InvokeContext context)
               throws Exception
Define common invoke behavior here

Throws:
Exception


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