|
||||||||||
| 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
public class SAXConsumerAdapter
| Field Summary |
|---|
| Fields inherited from class org.apache.cocoon.xml.sax.AbstractSAXProducer |
|---|
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler |
| Constructor Summary | |
|---|---|
SAXConsumerAdapter()
|
|
| Method Summary | |
|---|---|
void |
finish()
This method is called after pipeline run - regardless if the run was successful or an exception was thrown. |
ContentHandler |
getContentHandler()
Provide access to the ContentHandler used by the adapter. |
void |
setConfiguration(Map<String,? extends Object> configuration)
Pass component specific configuration parameters to the pipeline component in a generic way. |
void |
setup(Map<String,Object> parameters)
The shared object map for this pipeline run. |
| 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, 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 |
| Constructor Detail |
|---|
public SAXConsumerAdapter()
| Method Detail |
|---|
public void finish()
finish in interface PipelineComponentPipelineComponent.finish()public ContentHandler getContentHandler()
ContentHandler used by the adapter.
ContentHandlerpublic void setConfiguration(Map<String,? extends Object> configuration)
setConfiguration in interface PipelineComponentconfiguration - The Map of configuration parameters.PipelineComponent.setConfiguration(java.util.Map)public void setup(Map<String,Object> parameters)
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.PipelineComponent.setup(java.util.Map)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||