org.apache.cocoon.xml
Interface XMLProducer

All Known Subinterfaces:
EventPipeline, Generator, Parser, SAXConnector, Transformer, XMLDeserializer, XMLPipe
All Known Implementing Classes:
AbstractXMLProducer

public interface XMLProducer

This interfaces identifies classes that produce XML data, sending SAX events to the configured XMLConsumer.
It's beyond the scope of this interface to specify a way in which the XML data production is started.

Version:
CVS $Id: XMLProducer.java,v 1.4 2002/02/22 07:03:58 cziegeler Exp $
Author:
Pierpaolo Fumagalli (Apache Software Foundation, Exoffice Technologies)

Method Summary
 void setConsumer(XMLConsumer consumer)
          Set the XMLConsumer that will receive XML data.
 

Method Detail

setConsumer

public void setConsumer(XMLConsumer consumer)
Set the XMLConsumer that will receive XML data.


Copyright � 1999-2002 Apache Software Foundation. All Rights Reserved.