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

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
          extended by org.apache.cocoon.components.treeprocessor.PipelineEventComponentProcessingNode
              extended by org.apache.cocoon.components.treeprocessor.sitemap.TransformNode
All Implemented Interfaces:
LogEnabled, ThreadSafe, ParameterizableProcessingNode, ProcessingNode, Locatable

public class TransformNode
extends PipelineEventComponentProcessingNode
implements ParameterizableProcessingNode

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

Field Summary
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.PipelineEventComponentProcessingNode
pipelineHints, views
 
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
TransformNode(String name, VariableResolver source)
           
 
Method Summary
 boolean invoke(Environment env, InvokeContext context)
          Process environment.
 void setParameters(Map parameterMap)
          Set the parameters of this node as a Map of VariableResolvers that will be resolved at process-time.
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.PipelineEventComponentProcessingNode
hasViews, setPipelineHints, setViews
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
getLocation, getSourceResolver, setLocation
 
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.ProcessingNode
getLocation
 

Constructor Detail

TransformNode

public TransformNode(String name,
                     VariableResolver source)
              throws PatternException
Throws:
PatternException
Method Detail

setParameters

public void setParameters(Map parameterMap)
Description copied from interface: ParameterizableProcessingNode
Set the parameters of this node as a Map of VariableResolvers that will be resolved at process-time.

Specified by:
setParameters in interface ParameterizableProcessingNode

invoke

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

Specified by:
invoke in interface ProcessingNode
Throws:
Exception


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