|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.framework.logger.AbstractLoggable | +--org.apache.cocoon.reading.AbstractReader
Field Summary | |
protected java.util.Map |
objectModel
The current Map of the object model. |
protected java.io.OutputStream |
out
The OutputStream to write on. |
protected org.apache.avalon.framework.parameters.Parameters |
parameters
The current Parameters . |
protected SourceResolver |
resolver
The current SourceResolver . |
protected java.lang.String |
source
The source URI associated with the request or null. |
Fields inherited from interface org.apache.cocoon.reading.Reader |
ROLE |
Constructor Summary | |
AbstractReader()
|
Method Summary | |
long |
getLastModified()
|
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 |
recycle()
Recycle the component |
void |
setOutputStream(java.io.OutputStream out)
Set the OutputStream |
void |
setup(SourceResolver resolver,
java.util.Map objectModel,
java.lang.String src,
org.apache.avalon.framework.parameters.Parameters par)
Set the SourceResolver the object model Map ,
the source and sitemap Parameters used to process the request. |
boolean |
shouldSetContentLength()
Test if the component wants to set the content length |
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 |
Methods inherited from interface org.apache.cocoon.reading.Reader |
generate |
Field Detail |
protected SourceResolver resolver
SourceResolver
.
protected java.util.Map objectModel
Map
of the object model.
protected org.apache.avalon.framework.parameters.Parameters parameters
Parameters
.
protected java.lang.String source
protected java.io.OutputStream out
OutputStream
to write on.
Constructor Detail |
public AbstractReader()
Method Detail |
public void setup(SourceResolver resolver, java.util.Map objectModel, java.lang.String src, org.apache.avalon.framework.parameters.Parameters par) throws ProcessingException, org.xml.sax.SAXException, java.io.IOException
SourceResolver
the object model Map
,
the source and sitemap Parameters
used to process the request.
setup
in interface SitemapModelComponent
ProcessingException
org.xml.sax.SAXException
java.io.IOException
public void setOutputStream(java.io.OutputStream out)
OutputStream
setOutputStream
in interface SitemapOutputComponent
public java.lang.String getMimeType()
Serializer
This default implementation returns null to indicate that the
mime-type specified in the sitemap is to be used
getMimeType
in interface SitemapOutputComponent
public long getLastModified()
getLastModified
in interface Reader
public void recycle()
recycle
in interface org.apache.avalon.excalibur.pool.Recyclable
public boolean shouldSetContentLength()
shouldSetContentLength
in interface SitemapOutputComponent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |