org.apache.cocoon.components.treeprocessor.sitemap
Class ReadNode
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
org.apache.cocoon.components.treeprocessor.sitemap.ReadNode
- All Implemented Interfaces:
- LogEnabled, ThreadSafe, ParameterizableProcessingNode, ProcessingNode, Locatable
public class ReadNode
- extends AbstractProcessingNode
- implements ParameterizableProcessingNode
- Version:
- CVS $Id: ReadNode.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Sylvain Wallez
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadNode
public ReadNode(String name,
VariableResolver source,
VariableResolver mimeType,
int statusCode)
- Build a
SerializerNode
having a name, a mime-type and a status code (HTTP codes).
- Parameters:
name
- the name of the serializer to use.mimeType
- the mime-type, or null
not specified.statusCode
- the HTTP response status code, or -1
if not specified.
setParameters
public void setParameters(Map parameterMap)
- Description copied from interface:
ParameterizableProcessingNode
- Set the parameters of this node as a
Map
of VariableResolver
s
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.