org.inria.ns.reflex.xml.sax
Interface StandaloneProducer

All Superinterfaces:
XMLReader
All Known Implementing Classes:
ChannelFunction.Channel, SAXAggregator, SAXDocument, StandaloneProducer.Impl, XMLBuilder.SAXSplitter

public interface StandaloneProducer
extends XMLReader

A standalone SAX events producer.

This interface is useful when XML events can be produced independently of a stream source.

For example, an SQL request could be used to fire SAX events ; in this case, the usual parse methods of XMLReader are irrelevant.

Author:
Philippe Poulard
See Also:
XMLReader.parse(String), XMLReader.parse(org.xml.sax.InputSource)

Nested Class Summary
static class StandaloneProducer.Impl
          A default implementation.
 
Method Summary
 void parse()
          Fire SAX events from an embedded source.
 
Methods inherited from interface org.xml.sax.XMLReader
getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getProperty, parse, parse, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty
 

Method Detail

parse

void parse()
           throws SAXException
Fire SAX events from an embedded source.

Throws:
SAXException - For compatibility.