public class DocumentReader
extends org.apache.cocoon.reading.AbstractReader
implements org.apache.avalon.framework.service.Serviceable
Constructor and Description |
---|
DocumentReader() |
Modifier and Type | Method and Description |
---|---|
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 |
service(org.apache.avalon.framework.service.ServiceManager manager) |
void |
setup(org.apache.cocoon.environment.SourceResolver resolver,
java.util.Map map,
java.lang.String src,
org.apache.avalon.framework.parameters.Parameters par) |
getLastModified, recycle, setOutputStream, shouldSetContentLength
public void service(org.apache.avalon.framework.service.ServiceManager manager)
service
in interface org.apache.avalon.framework.service.Serviceable
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
setup
in interface org.apache.cocoon.sitemap.SitemapModelComponent
setup
in class org.apache.cocoon.reading.AbstractReader
org.apache.cocoon.ProcessingException
org.xml.sax.SAXException
java.io.IOException
public java.lang.String getMimeType()
Serializer
This default implementation returns null to indicate that the
mime-type specified in the sitemap is to be usedgetMimeType
in interface org.apache.cocoon.sitemap.SitemapOutputComponent
getMimeType
in class org.apache.cocoon.reading.AbstractReader
public void generate() throws java.io.IOException, org.apache.cocoon.ProcessingException
generate
in interface org.apache.cocoon.reading.Reader
java.io.IOException
org.apache.cocoon.ProcessingException
Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.