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

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.components.treeprocessor.AbstractProcessingNodeBuilder
          extended by org.apache.cocoon.components.treeprocessor.sitemap.RedirectToNodeBuilder
All Implemented Interfaces:
Component, Composable, Recomposable, LogEnabled, LinkedProcessingNodeBuilder, ProcessingNodeBuilder

public class RedirectToNodeBuilder
extends AbstractProcessingNodeBuilder
implements LinkedProcessingNodeBuilder

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

Field Summary
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNodeBuilder
manager, treeBuilder
 
Constructor Summary
RedirectToNodeBuilder()
           
 
Method Summary
 ProcessingNode buildNode(Configuration config)
          Build the ProcessingNode and its children from the given Configuration, and optionnaly register it in the tree builder for lookup by other LinkedProcessingNodeBuilders.
protected  boolean hasParameters()
          This builder has no parameters -- return false
 void linkNode()
          Resolve the links needed by the node built by this builder.
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNodeBuilder
checkNamespace, compose, recompose, setBuilder
 
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
 
Methods inherited from interface org.apache.cocoon.components.treeprocessor.ProcessingNodeBuilder
setBuilder
 

Constructor Detail

RedirectToNodeBuilder

public RedirectToNodeBuilder()
Method Detail

hasParameters

protected boolean hasParameters()
This builder has no parameters -- return false

Overrides:
hasParameters in class AbstractProcessingNodeBuilder

buildNode

public ProcessingNode buildNode(Configuration config)
                         throws Exception
Description copied from interface: ProcessingNodeBuilder
Build the ProcessingNode and its children from the given Configuration, and optionnaly register it in the tree builder for lookup by other LinkedProcessingNodeBuilders.

Specified by:
buildNode in interface ProcessingNodeBuilder
Throws:
Exception

linkNode

public void linkNode()
              throws Exception
Description copied from interface: LinkedProcessingNodeBuilder
Resolve the links needed by the node built by this builder.

Specified by:
linkNode in interface LinkedProcessingNodeBuilder
Throws:
Exception


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