org.apache.cocoon.reading
Interface Reader

All Superinterfaces:
SitemapModelComponent, SitemapOutputComponent

public interface Reader
extends SitemapModelComponent, SitemapOutputComponent

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

Version:
$Id: Reader.html 1304280 2012-03-23 11:18:01Z ilgrosso $

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-2008 The Apache Software Foundation. All Rights Reserved.