~ubuntu-branches/debian/wheezy/jing-trang/wheezy

« back to all changes in this revision

Viewing changes to mod/util/src/main/com/thaiopensource/xml/sax/XMLReaderCreator.java

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Thibault
  • Date: 2009-09-01 15:53:03 UTC
  • Revision ID: james.westby@ubuntu.com-20090901155303-2kweef05h5v9j3ni
Tags: upstream-20090818
ImportĀ upstreamĀ versionĀ 20090818

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package com.thaiopensource.xml.sax;
 
2
 
 
3
import org.xml.sax.SAXException;
 
4
import org.xml.sax.XMLReader;
 
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 createXMLReader() throws SAXException;
 
20
}