|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.cocoon.xml.sax.AbstractSAXProducer
org.apache.cocoon.xml.sax.AbstractSAXPipe
org.apache.cocoon.sax.util.SAXConsumerAdapter
org.apache.cocoon.sax.AbstractSAXSerializer
public abstract class AbstractSAXSerializer
| Field Summary |
|---|
| Fields inherited from class org.apache.cocoon.xml.sax.AbstractSAXProducer |
|---|
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler |
| Constructor Summary | |
|---|---|
AbstractSAXSerializer()
|
|
| Method Summary | |
|---|---|
protected Map<String,? extends Object> |
getConfiguration()
|
String |
getContentType()
|
protected Map<String,Object> |
getInputParameters()
|
protected OutputStream |
getOutputStream()
|
void |
setConfiguration(Map<String,? extends Object> configuration)
Pass component specific configuration parameters to the pipeline component in a generic way. |
void |
setContentType(String contentType)
|
void |
setOutputStream(OutputStream outputStream)
|
void |
setup(Map<String,Object> inputParameters)
The shared object map for this pipeline run. |
String |
toString()
|
| Methods inherited from class org.apache.cocoon.sax.util.SAXConsumerAdapter |
|---|
finish, getContentHandler |
| Methods inherited from class org.apache.cocoon.xml.sax.AbstractSAXPipe |
|---|
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.sax.AbstractSAXProducer |
|---|
recycle, setContentHandler |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.cocoon.pipeline.component.PipelineComponent |
|---|
finish |
| 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 |
| Constructor Detail |
|---|
public AbstractSAXSerializer()
| Method Detail |
|---|
protected Map<String,? extends Object> getConfiguration()
Map that contains all configuration parameters.public String getContentType()
getContentType in interface FinisherFinisher.getContentType()protected Map<String,Object> getInputParameters()
Map that contains all pipeline input parameters.protected OutputStream getOutputStream()
OutputStream of the pipeline.public void setConfiguration(Map<String,? extends Object> configuration)
setConfiguration in interface PipelineComponentsetConfiguration in class SAXConsumerAdapterconfiguration - The Map of configuration parameters.PipelineComponent.setConfiguration(java.util.Map)public void setContentType(String contentType)
contentType - The type of the content produced by this serializer.public void setup(Map<String,Object> inputParameters)
setup in interface PipelineComponentsetup in class SAXConsumerAdapterinputParameters - A Map of parameters that are available to all
PipelineComponents. This is a modifiable map that can
be changed by this pipeline component.PipelineComponent.setup(java.util.Map)public void setOutputStream(OutputStream outputStream)
setOutputStream in interface FinisherFinisher.setOutputStream(java.io.OutputStream)public String toString()
toString in class ObjectObject.toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||