nu.staldal.lagoon.core
Interface XMLStreamProducer

All Superinterfaces:
ProducerInterface
All Known Implementing Classes:
Parse, Source, Transform

public interface XMLStreamProducer
extends ProducerInterface

Produces an XML stream.


Method Summary
 void start(org.xml.sax.ContentHandler sax, Target target)
          Start the generation of the XML stream.
 
Methods inherited from interface nu.staldal.lagoon.core.ProducerInterface
destroy, hasBeenUpdated, init
 

Method Detail

start

void start(org.xml.sax.ContentHandler sax,
           Target target)
           throws org.xml.sax.SAXException,
                  java.io.IOException
Start the generation of the XML stream. Synchrounos, does not return until the whole stream is finished. Must invoke startDocument() and endDocument() on the stream.

Parameters:
sax - the SAX ContentHandler to write to
target - the target
Throws:
org.xml.sax.SAXException
java.io.IOException