1
package com.thaiopensource.xml.sax;
3
import org.xml.sax.SAXException;
4
import org.xml.sax.XMLReader;
7
* A factory for <code>XMLReader</code>s. Thread-safety is determined by each particular
8
* implementation of this interface.
10
* @author <a href="mailto:jjc@jclark.com">James Clark</a>
12
public interface XMLReaderCreator {
14
* Creates a new <code>XMLReader</code>.
16
* @return a new <code>XMLReader</code>; never <code>null</code>
17
* @throws org.xml.sax.SAXException If an <code>XMLReader</code> cannot be created for any reason
19
XMLReader createXMLReader() throws SAXException;