org.apache.cocoon.transformation
Class VirtualPipelineTransformer

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.cocoon.xml.AbstractXMLProducer
          extended byorg.apache.cocoon.xml.AbstractXMLPipe
              extended byorg.apache.cocoon.sitemap.impl.AbstractVirtualSitemapComponent
                  extended byorg.apache.cocoon.transformation.VirtualPipelineTransformer
All Implemented Interfaces:
Configurable, ContentHandler, Contextualizable, LexicalHandler, LogEnabled, Poolable, Recyclable, Serviceable, SitemapModelComponent, Transformer, XMLConsumer, XMLConsumer, XMLPipe, XMLProducer

public class VirtualPipelineTransformer
extends AbstractVirtualSitemapComponent
implements Transformer


Field Summary
 
Fields inherited from class org.apache.cocoon.sitemap.impl.AbstractVirtualSitemapComponent
context, manager, resolver
 
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
 
Fields inherited from interface org.apache.cocoon.transformation.Transformer
ROLE
 
Constructor Summary
VirtualPipelineTransformer()
           
 
Method Summary
protected  String getTypeName()
           
 void setConsumer(XMLConsumer consumer)
          Set the XMLConsumer that will receive XML data.
 void startDocument()
          Receive notification of the beginning of a document.
 
Methods inherited from class org.apache.cocoon.sitemap.impl.AbstractVirtualSitemapComponent
configure, contextualize, getMappedSourceEnvironment, getPipeline, getVPCEnvironment, recycle, service, setup
 
Methods inherited from class org.apache.cocoon.xml.AbstractXMLPipe
characters, comment, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDTD, startElement, startEntity, startPrefixMapping
 
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setContentHandler, setLexicalHandler
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, 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, 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.sitemap.SitemapModelComponent
setup
 

Constructor Detail

VirtualPipelineTransformer

public VirtualPipelineTransformer()
Method Detail

getTypeName

protected String getTypeName()
Specified by:
getTypeName in class AbstractVirtualSitemapComponent

setConsumer

public void setConsumer(XMLConsumer consumer)
Set the XMLConsumer that will receive XML data. And set up the internal pipeline for processing.

Specified by:
setConsumer in interface XMLProducer
Overrides:
setConsumer in class AbstractXMLProducer

startDocument

public void startDocument()
                   throws SAXException
Description copied from class: AbstractXMLPipe
Receive notification of the beginning of a document.

Specified by:
startDocument in interface ContentHandler
Overrides:
startDocument in class AbstractXMLPipe
Throws:
SAXException


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.