ca.mkmgroup.xmlutil
Class SyntheticSaxSource

java.lang.Object
  extended byjavax.xml.transform.sax.SAXSource
      extended byca.mkmgroup.xmlutil.SyntheticSaxSource
All Implemented Interfaces:
Source

public class SyntheticSaxSource
extends SAXSource

A SAX source whose events are generated synthetically rather than from an XML input stream.


Nested Class Summary
static interface SyntheticSaxSource.SaxEventStreamGenerator
          An object which can generate a series of SAX events that describe the synthetic XML content.
 
Field Summary
 
Fields inherited from class javax.xml.transform.sax.SAXSource
FEATURE
 
Constructor Summary
SyntheticSaxSource(SyntheticSaxSource.SaxEventStreamGenerator generator)
          Creates a new synthetic SAX source.
 
Methods inherited from class javax.xml.transform.sax.SAXSource
getInputSource, getSystemId, getXMLReader, setInputSource, setSystemId, setXMLReader, sourceToInputSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyntheticSaxSource

public SyntheticSaxSource(SyntheticSaxSource.SaxEventStreamGenerator generator)
Creates a new synthetic SAX source.

Parameters:
generator - an object that will generate the synthetic content.