org.apache.cocoon.components.treeprocessor
Class CategoryNode

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.CategoryNode
All Implemented Interfaces:
org.apache.avalon.framework.logger.Loggable, ProcessingNode, org.apache.avalon.framework.thread.ThreadSafe

public final class CategoryNode
extends AbstractParentProcessingNode

A generic container node that just invokes its children.

Version:
CVS $Id: CategoryNode.java,v 1.1 2002/03/05 08:26:22 sylvain Exp $
Author:
Sylvain Wallez

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(java.lang.String name)
           
 boolean invoke(Environment env, InvokeContext context)
          Process environment.
 boolean invokeByName(java.lang.String name, Environment env, InvokeContext context)
           
 void setCategory(java.lang.String categoryName, java.util.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.AbstractLoggable
getLogger, setLogger, 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(java.lang.String categoryName,
                        java.util.Map nodes)

invoke

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

getNodeByName

public final ProcessingNode getNodeByName(java.lang.String name)
                                   throws java.lang.Exception

invokeByName

public final boolean invokeByName(java.lang.String name,
                                  Environment env,
                                  InvokeContext context)
                           throws java.lang.Exception


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