|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cocoon.components.serializers.util.EncodingSerializer
org.apache.cocoon.components.serializers.util.XMLSerializer
org.apache.cocoon.optional.servlet.components.sax.serializers.EncodingXMLSerializer
public class EncodingXMLSerializer
A fancy XML serializer not relying on the JAXP API.
| Field Summary |
|---|
| Fields inherited from class org.apache.cocoon.components.serializers.util.XMLSerializer |
|---|
doctype |
| Fields inherited from class org.apache.cocoon.components.serializers.util.EncodingSerializer |
|---|
ATTRIBUTE_LENGTH, ATTRIBUTE_LOCAL, ATTRIBUTE_NSURI, ATTRIBUTE_QNAME, ATTRIBUTE_VALUE, charset, CONTENT_LIST_ATTRIBUTE, indentPerLevel, NAMESPACE, namespaces, request |
| Constructor Summary | |
|---|---|
EncodingXMLSerializer()
|
|
| Method Summary | |
|---|---|
CacheKey |
constructCacheKey()
|
void |
finish()
This method is called after pipeline run - regardless if the run was successful or an exception was thrown. |
String |
getContentType()
|
void |
setConfiguration(Map<String,? extends Object> configuration)
Pass component specific configuration parameters to the pipeline component in a generic way. |
void |
setOutputStream(OutputStream outputStream)
|
void |
setup(Map<String,Object> parameters)
The shared object map for this pipeline run. |
String |
toString()
|
| Methods inherited from class org.apache.cocoon.components.serializers.util.XMLSerializer |
|---|
body, charactersImpl, closeElement, comment, endCDATA, endDocument, endDTD, endElementImpl, endEntity, getMimeType, head, ignorableWhitespace, processingInstruction, recycle, skippedEntity, startCDATA, startDocument, startDTD, startElementImpl, startEntity |
| Methods inherited from class org.apache.cocoon.components.serializers.util.EncodingSerializer |
|---|
characters, encode, encode, encode, endElement, endPrefixMapping, flush, getColumnNumber, getLineNumber, getLocation, getPublicId, getSystemId, include, setDocumentLocator, setEncoding, setIndentPerLevel, setup, startElement, startPrefixMapping, write, write, write, write, write, writeIndent, writeln, writeln |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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 |
| Constructor Detail |
|---|
public EncodingXMLSerializer()
| Method Detail |
|---|
public CacheKey constructCacheKey()
constructCacheKey in interface CachingPipelineComponentpublic void finish()
PipelineComponent
finish in interface PipelineComponentpublic String getContentType()
getContentType in interface Finisherpublic void setConfiguration(Map<String,? extends Object> configuration)
PipelineComponent
setConfiguration in interface PipelineComponentconfiguration - The Map of configuration parameters.public void setOutputStream(OutputStream outputStream)
setOutputStream in interface FinishersetOutputStream in class org.apache.cocoon.components.serializers.util.EncodingSerializerpublic void setup(Map<String,Object> parameters)
PipelineComponent
setup in interface PipelineComponentparameters - A Map of parameters that are available to all
PipelineComponents. This is a modifiable map that can
be changed by this pipeline component.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||