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

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.ScriptNodeBuilder
All Implemented Interfaces:
Component, Composable, Recomposable, LogEnabled, LinkedProcessingNodeBuilder, ProcessingNodeBuilder

public class ScriptNodeBuilder
extends AbstractProcessingNodeBuilder
implements LinkedProcessingNodeBuilder

Builder class for creating a ScriptNode instance corresponding to a <map:script> element in the sitemap.

Since:
March 13, 2002
Version:
CVS $Id: ScriptNodeBuilder.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Ovidiu Predescu

Field Summary
protected  ScriptNode node
           
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNodeBuilder
manager, treeBuilder
 
Constructor Summary
ScriptNodeBuilder()
           
 
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.
 void linkNode()
          Call the built node to register the script it contains with the flow interpreter.
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNodeBuilder
checkNamespace, compose, hasParameters, 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
 

Field Detail

node

protected ScriptNode node
Constructor Detail

ScriptNodeBuilder

public ScriptNodeBuilder()
Method Detail

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
Call the built node to register the script it contains with the flow interpreter.

Specified by:
linkNode in interface LinkedProcessingNodeBuilder
Throws:
Exception


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