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, shouldSetContentLengthpublic void service(org.apache.avalon.framework.service.ServiceManager manager)
service in interface org.apache.avalon.framework.service.Serviceablepublic 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.SitemapModelComponentsetup in class org.apache.cocoon.reading.AbstractReaderorg.apache.cocoon.ProcessingExceptionorg.xml.sax.SAXExceptionjava.io.IOExceptionpublic 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.SitemapOutputComponentgetMimeType in class org.apache.cocoon.reading.AbstractReaderpublic void generate()
throws java.io.IOException,
org.apache.cocoon.ProcessingException
generate in interface org.apache.cocoon.reading.Readerjava.io.IOExceptionorg.apache.cocoon.ProcessingExceptionCopyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.