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()
     1 package cz.frantovo.alt2xml;
     2 
     3 import org.xml.sax.SAXException;
     4 import org.xml.sax.XMLReader;
     5 
     6 /**
     7  *
     8  * @author Ing. František Kučera (frantovo.cz)
     9  */
    10 public interface ReaderFinder {
    11 
    12 	/**
    13 	 *
    14 	 * @param inputSource source of the document which should be parsed
    15 	 * @return XMLReader appropriate for this document
    16 	 * @throws org.xml.sax.SAXException if we have no reader for given systemId
    17 	 */
    18 	public XMLReader findReader(AltInputSource inputSource) throws SAXException;
    19 
    20 }