net.sf.tomp.xtcl.source
Class XTSourceFactoryImpl

java.lang.Object
  extended by net.sf.tomp.xtcl.source.XTSourceFactoryImpl
All Implemented Interfaces:
XTSourceFactory

public class XTSourceFactoryImpl
extends java.lang.Object
implements XTSourceFactory

Creates either a normal SAXSource or XTSAXSource which is parametrized.

Author:
tomp

Constructor Summary
XTSourceFactoryImpl()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XTSourceFactoryImpl

public XTSourceFactoryImpl()
Method Detail

newSAXSource

public 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.

Specified by:
newSAXSource in interface XTSourceFactory
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.