|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SitemapOutputComponent
This interface marks a component as a sitemap component that produces a response, like a serializer or a reader.
Method Summary | |
---|---|
String |
getMimeType()
Get the media type of the output of this Component
to be used in Content-Type header in the response. |
void |
setOutputStream(OutputStream out)
Set the OutputStream where the requested resource should
be serialized. |
boolean |
shouldSetContentLength()
Test if the component wants to set the content length |
Method Detail |
---|
void setOutputStream(OutputStream out) throws IOException
OutputStream
where the requested resource should
be serialized.
IOException
String getMimeType()
Component
to be used in Content-Type
header in the response.
text/html; charset=utf-8
.
mime-type
attribute is set
in the sitemap.
AbstractProcessingPipeline.setMimeTypeForSerializer(org.apache.cocoon.environment.Environment)
,
AbstractProcessingPipeline.setMimeTypeForReader(org.apache.cocoon.environment.Environment)
boolean shouldSetContentLength()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |