org.apache.cocoon.components.treeprocessor.sitemap
Class PipelinesNode

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
                          |
                          +--org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode
All Implemented Interfaces:
org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.logger.Loggable, ProcessingNode, org.apache.avalon.framework.thread.ThreadSafe

public final class PipelinesNode
extends SimpleParentProcessingNode
implements org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.activity.Disposable

Handles <map:pipelines>

Version:
CVS $Id: PipelinesNode.java,v 1.2 2002/03/12 15:51:02 sylvain Exp $
Author:
Sylvain Wallez

Fields inherited from class org.apache.cocoon.components.treeprocessor.SimpleParentProcessingNode
children
 
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
PipelinesNode()
           
 
Method Summary
 void compose(org.apache.avalon.framework.component.ComponentManager manager)
          Keep the component manager used everywhere in the tree so that we can cleanly dispose it.
 void dispose()
          Dispose the component manager.
static SitemapRedirector getRedirector(Environment env)
           
 boolean invoke(Environment env, InvokeContext context)
          Process the environment.
 void setChildren(ProcessingNode[] 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

PipelinesNode

public PipelinesNode()
Method Detail

compose

public void compose(org.apache.avalon.framework.component.ComponentManager manager)
Keep the component manager used everywhere in the tree so that we can cleanly dispose it.
Specified by:
compose in interface org.apache.avalon.framework.component.Composable

setChildren

public void setChildren(ProcessingNode[] nodes)
Overrides:
setChildren in class SimpleParentProcessingNode

getRedirector

public static SitemapRedirector getRedirector(Environment env)

invoke

public final boolean invoke(Environment env,
                            InvokeContext context)
                     throws java.lang.Exception
Process the environment. Also adds a SourceResolver and a Redirector in the object model. The previous resolver and redirector, if any, are restored before return.

dispose

public void dispose()
Dispose the component manager.
Specified by:
dispose in interface org.apache.avalon.framework.activity.Disposable


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