fr.gouv.culture.sdx.sitemap
Class DocumentReader

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLoggable
      extended byorg.apache.cocoon.reading.AbstractReader
          extended byfr.gouv.culture.sdx.sitemap.DocumentReader
All Implemented Interfaces:
org.apache.avalon.framework.component.Component, org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.logger.Loggable, org.apache.avalon.excalibur.pool.Poolable, org.apache.cocoon.reading.Reader, org.apache.avalon.excalibur.pool.Recyclable, org.apache.cocoon.sitemap.SitemapModelComponent, org.apache.cocoon.sitemap.SitemapOutputComponent

public class DocumentReader
extends org.apache.cocoon.reading.AbstractReader
implements org.apache.avalon.framework.component.Composable


Field Summary
 
Fields inherited from class org.apache.cocoon.reading.AbstractReader
objectModel, out, parameters, resolver, source
 
Fields inherited from interface org.apache.cocoon.reading.Reader
ROLE
 
Constructor Summary
DocumentReader()
           
 
Method Summary
 void compose(org.apache.avalon.framework.component.ComponentManager manager)
           
 void generate()
           
 java.lang.String getMimeType()
          Get the mime-type of the output of this Serializer This default implementation returns null to indicate that the mime-type specified in the sitemap is to be used
 void setup(org.apache.cocoon.environment.SourceResolver resolver, java.util.Map map, java.lang.String src, org.apache.avalon.framework.parameters.Parameters par)
           
 
Methods inherited from class org.apache.cocoon.reading.AbstractReader
getLastModified, recycle, setOutputStream, shouldSetContentLength
 
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

DocumentReader

public DocumentReader()
Method Detail

compose

public void compose(org.apache.avalon.framework.component.ComponentManager manager)
Specified by:
compose in interface org.apache.avalon.framework.component.Composable

setup

public void setup(org.apache.cocoon.environment.SourceResolver resolver,
                  java.util.Map map,
                  java.lang.String src,
                  org.apache.avalon.framework.parameters.Parameters par)
           throws org.apache.cocoon.ProcessingException,
                  org.xml.sax.SAXException,
                  java.io.IOException
Specified by:
setup in interface org.apache.cocoon.sitemap.SitemapModelComponent
Throws:
org.apache.cocoon.ProcessingException
org.xml.sax.SAXException
java.io.IOException

getMimeType

public java.lang.String getMimeType()
Get the mime-type of the output of this Serializer This default implementation returns null to indicate that the mime-type specified in the sitemap is to be used

Specified by:
getMimeType in interface org.apache.cocoon.sitemap.SitemapOutputComponent

generate

public void generate()
              throws java.io.IOException,
                     org.apache.cocoon.ProcessingException
Specified by:
generate in interface org.apache.cocoon.reading.Reader
Throws:
java.io.IOException
org.apache.cocoon.ProcessingException


Copyright © 2000-2004 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.