org.apache.cocoon.reading
Interface Reader

All Superinterfaces:
SitemapModelComponent, SitemapOutputComponent
All Known Implementing Classes:
AbstractReader, VirtualPipelineReader

public interface Reader
extends SitemapModelComponent, SitemapOutputComponent

A reader can be used to generate binary output for a request.

Version:
CVS $Id: Reader.java 30941 2004-07-29 19:56:58Z vgritsenko $
Author:
Giacomo Pati

Field Summary
static String ROLE
           
 
Method Summary
 void generate()
          Generate the response.
 long getLastModified()
           
 
Methods inherited from interface org.apache.cocoon.sitemap.SitemapModelComponent
setup
 
Methods inherited from interface org.apache.cocoon.sitemap.SitemapOutputComponent
getMimeType, setOutputStream, shouldSetContentLength
 

Field Detail

ROLE

public static final String ROLE
Method Detail

generate

public void generate()
              throws IOException,
                     SAXException,
                     ProcessingException
Generate the response.

Throws:
IOException
SAXException
ProcessingException

getLastModified

public long getLastModified()
Returns:
the time the read source was last modified or 0 if it is not possible to detect


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.