org.apache.cocoon.components.treeprocessor
Class SimpleParentProcessingNode

java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLoggable
        |
        +--org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
              |
              +--org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
                    |
                    +--org.apache.cocoon.components.treeprocessor.SimpleParentProcessingNode
All Implemented Interfaces:
org.apache.avalon.framework.logger.Loggable, ProcessingNode, org.apache.avalon.framework.thread.ThreadSafe
Direct Known Subclasses:
ActSetNode, ContainerNode, PipelinesNode, SimpleSelectorProcessingNode

public abstract class SimpleParentProcessingNode
extends AbstractParentProcessingNode

Version:
CVS $Id: SimpleParentProcessingNode.java,v 1.1.2.1 2002/11/25 21:51:59 sylvain Exp $
Author:
Sylvain Wallez

Field Summary
protected  ProcessingNode[] children
          The childrens of this matcher
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
location
 
Fields inherited from interface org.apache.cocoon.components.treeprocessor.ProcessingNode
OBJECT_SOURCE_RESOLVER
 
Constructor Summary
SimpleParentProcessingNode()
           
 
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, getSourceResolver, setLocation
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable
getLogger, setLogger, 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()
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

invoke

public boolean invoke(Environment env,
                      InvokeContext context)
               throws java.lang.Exception
Define common invoke behavior here


Copyright � 1999-2002 Apache Software Foundation. All Rights Reserved.