org.apache.cocoon.components.treeprocessor
Class SimpleParentProcessingNode

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
          extended by org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
              extended by org.apache.cocoon.components.treeprocessor.SimpleParentProcessingNode
All Implemented Interfaces:
LogEnabled, ThreadSafe, ProcessingNode, Locatable
Direct Known Subclasses:
ActSetNode, ContainerNode, PipelinesNode, SimpleSelectorProcessingNode

public abstract class SimpleParentProcessingNode
extends AbstractParentProcessingNode

Version:
$Id: SimpleParentProcessingNode.html 1304258 2012-03-23 10:09:27Z ilgrosso $
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.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()
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-2010 The Apache Software Foundation. All Rights Reserved.