org.apache.cocoon.components.treeprocessor
Class CategoryNode

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.CategoryNode
All Implemented Interfaces:
org.apache.cocoon.sitemap.ExecutionContext, org.apache.cocoon.util.location.Locatable, ProcessingNode, ThreadSafe

public final class CategoryNode
extends AbstractParentProcessingNode

A generic container node that just invokes its children.

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

Field Summary
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
componentName, executor, location
 
Constructor Summary
CategoryNode(String type)
           
 
Method Summary
 ProcessingNode getNodeByName(String name)
           
 boolean invoke(org.apache.cocoon.environment.Environment env, InvokeContext context)
          Process environment.
 boolean invokeByName(String name, org.apache.cocoon.environment.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, 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
 

Constructor Detail

CategoryNode

public CategoryNode(String type)
Method Detail

setCategory

public void setCategory(String categoryName,
                        Map nodes)

invoke

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

Throws:
Exception

getNodeByName

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

invokeByName

public boolean invokeByName(String name,
                            org.apache.cocoon.environment.Environment env,
                            InvokeContext context)
                     throws Exception
Throws:
Exception


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