net.sf.tomp.xtcl.source
Interface XTSourceFactory

All Known Implementing Classes:
XTSourceFactoryImpl

public interface XTSourceFactory

Creates either a normal SAXSource or XTSAXSource which is parametrized.

Author:
tomp

Method Summary
 javax.xml.transform.sax.SAXSource newSAXSource(java.lang.String className, org.xml.sax.InputSource is)
          Creates either a normal SAXSource or XTSAXSource which is parametrized.
 

Method Detail

newSAXSource

javax.xml.transform.sax.SAXSource newSAXSource(java.lang.String className,
                                               org.xml.sax.InputSource is)
                                               throws java.lang.ClassNotFoundException,
                                                      java.lang.InstantiationException,
                                                      java.lang.IllegalAccessException
Creates either a normal SAXSource or XTSAXSource which is parametrized.

Parameters:
className - class name of XMLReader used to create the SAXSource
is - InputSource to be read by the XMLReader
Returns:
the SAXSource or XTSAXSource
Throws:
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException


Copyright © 2004-2005 Masaryk University in Brno, Faculty of Informatics, Czech Republic. All Rights Reserved.