org.apache.cocoon.components.treeprocessor
Class CategoryNode

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.CategoryNode
All Implemented Interfaces:
LogEnabled, ThreadSafe, ProcessingNode, Locatable

public final class CategoryNode
extends AbstractParentProcessingNode

A generic container node that just invokes its children.

Version:
CVS $Id: CategoryNode.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Sylvain Wallez

Field Summary
 
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
CategoryNode()
           
 
Method Summary
 ProcessingNode getNodeByName(String name)
           
 boolean invoke(Environment env, InvokeContext context)
          Process environment.
 boolean invokeByName(String name, Environment env, InvokeContext context)
           
 void setCategory(String categoryName, Map nodes)
           
 
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
 

Constructor Detail

CategoryNode

public CategoryNode()
Method Detail

setCategory

public void setCategory(String categoryName,
                        Map nodes)

invoke

public final boolean invoke(Environment env,
                            InvokeContext context)
                     throws Exception
Description copied from interface: ProcessingNode
Process environment.

Throws:
Exception

getNodeByName

public final ProcessingNode getNodeByName(String name)
                                   throws Exception
Throws:
Exception

invokeByName

public final boolean invokeByName(String name,
                                  Environment env,
                                  InvokeContext context)
                           throws Exception
Throws:
Exception


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.