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

java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLoggable
        |
        +--org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
              |
              +--org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode
All Implemented Interfaces:
org.apache.avalon.framework.logger.Loggable, ProcessingNode, org.apache.avalon.framework.thread.ThreadSafe

public class SerializeNode
extends AbstractProcessingNode

Version:
CVS $Id: SerializeNode.java,v 1.1 2002/03/05 08:26:23 sylvain Exp $
Author:
Sylvain Wallez

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
SerializeNode(java.lang.String name, java.lang.String mimeType, int statusCode)
          Build a SerializerNode having a name, a mime-type and a status code (HTTP codes).
 
Method Summary
 boolean invoke(Environment env, InvokeContext context)
          Process environment.
 void setViews(java.util.Map views)
           
 
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

SerializeNode

public SerializeNode(java.lang.String name,
                     java.lang.String mimeType,
                     int statusCode)
              throws PatternException
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.
Method Detail

setViews

public void setViews(java.util.Map views)

invoke

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


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