|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.framework.logger.AbstractLoggable | +--org.apache.cocoon.xml.AbstractXMLProducer | +--org.apache.cocoon.xml.AbstractXMLPipe | +--org.apache.cocoon.serialization.AbstractSerializer
Field Summary | |
protected java.io.OutputStream |
output
The OutputStream used by this serializer. |
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer |
contentHandler, lexicalHandler, xmlConsumer |
Fields inherited from interface org.apache.cocoon.serialization.Serializer |
ROLE |
Constructor Summary | |
AbstractSerializer()
|
Method Summary | |
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 serializer by removing references |
void |
setOutputStream(java.io.OutputStream out)
Set the OutputStream where the XML should be serialized. |
boolean |
shouldSetContentLength()
Test if the component wants to set the content length |
Methods inherited from class org.apache.cocoon.xml.AbstractXMLPipe |
characters, comment, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDocument, startDTD, startElement, startEntity, startPrefixMapping |
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer |
setConsumer, setContentHandler, setLexicalHandler |
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.xml.sax.ContentHandler |
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping |
Methods inherited from interface org.xml.sax.ext.LexicalHandler |
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity |
Methods inherited from interface org.apache.cocoon.xml.XMLProducer |
setConsumer |
Field Detail |
protected java.io.OutputStream output
OutputStream
used by this serializer.Constructor Detail |
public AbstractSerializer()
Method Detail |
public void setOutputStream(java.io.OutputStream out)
OutputStream
where the XML should be serialized.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 usedgetMimeType
in interface SitemapOutputComponent
public void recycle()
recycle
in class AbstractXMLProducer
public boolean shouldSetContentLength()
shouldSetContentLength
in interface SitemapOutputComponent
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |