com.thaiopensource.xml.sax.XMLReaderCreator Maven / Gradle / Ivy
package com.thaiopensource.xml.sax;
import org.xml.sax.SAXException;
import org.xml.sax.XMLReader;
/**
* A factory for XMLReader
s. Thread-safety is determined by each particular
* implementation of this interface.
*
* @author James Clark
*/
public interface XMLReaderCreator {
/**
* Creates a new XMLReader
.
*
* @return a new XMLReader
; never null
* @throws org.xml.sax.SAXException If an XMLReader
cannot be created for any reason
*/
XMLReader createXMLReader() throws SAXException;
}