org.apache.cocoon.components.treeprocessor
Class SimpleParentProcessingNode

java.lang.Object
  extended byorg.apache.avalon.framework.logger.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:
ExecutionContext, Locatable, LogEnabled, ProcessingNode, ThreadSafe
Direct Known Subclasses:
ActSetNode, ContainerNode, PipelinesNode, SimpleSelectorProcessingNode

public abstract class SimpleParentProcessingNode
extends AbstractParentProcessingNode

Version:
$Id: SimpleParentProcessingNode.java 157146 2005-03-11 20:15:51Z vgritsenko $
Author:
Sylvain Wallez

Field Summary
protected  ProcessingNode[] children
          The childrens of this matcher
 
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(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.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
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 childrens of this matcher

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(Environment env,
                      InvokeContext context)
               throws Exception
Define common invoke behavior here

Throws:
Exception


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.