java/alt2xml-lib-input/src/cz/frantovo/alt2xml/ReaderFinder.java
author František Kučera <franta-hg@frantovo.cz>
Sun, 08 Jun 2014 09:53:51 +0200
changeset 36 ad36a104623f
parent 32 ecc2731a5a46
permissions -rw-r--r--
use AltInputSource instead of just systemId in canRead() and findReader()
franta-hg@15
     1
package cz.frantovo.alt2xml;
franta-hg@15
     2
franta-hg@15
     3
import org.xml.sax.SAXException;
franta-hg@15
     4
import org.xml.sax.XMLReader;
franta-hg@15
     5
franta-hg@15
     6
/**
franta-hg@15
     7
 *
franta-hg@15
     8
 * @author Ing. František Kučera (frantovo.cz)
franta-hg@15
     9
 */
franta-hg@15
    10
public interface ReaderFinder {
franta-hg@15
    11
franta-hg@15
    12
	/**
franta-hg@15
    13
	 *
franta-hg@36
    14
	 * @param inputSource source of the document which should be parsed
franta-hg@15
    15
	 * @return XMLReader appropriate for this document
franta-hg@15
    16
	 * @throws org.xml.sax.SAXException if we have no reader for given systemId
franta-hg@15
    17
	 */
franta-hg@36
    18
	public XMLReader findReader(AltInputSource inputSource) throws SAXException;
franta-hg@15
    19
franta-hg@15
    20
}