KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > thaiopensource > xml > sax > XMLReaderCreator


1 package com.thaiopensource.xml.sax;
2
3 import org.xml.sax.SAXException JavaDoc;
4 import org.xml.sax.XMLReader JavaDoc;
5
6 /**
7  * A factory for <code>XMLReader</code>s. Thread-safety is determined by each particular
8  * implementation of this interface.
9  *
10  * @author <a HREF="mailto:jjc@jclark.com">James Clark</a>
11  */

12 public interface XMLReaderCreator {
13   /**
14    * Creates a new <code>XMLReader</code>.
15    *
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
18    */

19   XMLReader JavaDoc createXMLReader() throws SAXException JavaDoc;
20 }
21
Popular Tags