org.apache.cocoon.reading
Interface Reader

All Superinterfaces:
org.apache.avalon.framework.component.Component, SitemapModelComponent, SitemapOutputComponent
All Known Implementing Classes:
AbstractReader

public interface Reader
extends SitemapModelComponent, SitemapOutputComponent

Version:
CVS $Id: Reader.java,v 1.5 2002/02/22 07:03:54 cziegeler Exp $
Author:
Giacomo Pati

Field Summary
static java.lang.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 java.lang.String ROLE
Method Detail

generate

public void generate()
              throws java.io.IOException,
                     org.xml.sax.SAXException,
                     ProcessingException
Generate the response.

getLastModified

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


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