1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/java/alt2xml-lib/src/cz/frantovo/alt2xml/ReaderFinder.java Sat Jun 07 10:49:42 2014 +0200
1.3 @@ -0,0 +1,20 @@
1.4 +package cz.frantovo.alt2xml;
1.5 +
1.6 +import org.xml.sax.SAXException;
1.7 +import org.xml.sax.XMLReader;
1.8 +
1.9 +/**
1.10 + *
1.11 + * @author Ing. František Kučera (frantovo.cz)
1.12 + */
1.13 +public interface ReaderFinder {
1.14 +
1.15 + /**
1.16 + *
1.17 + * @param systemId systemId of the document which should be parsed
1.18 + * @return XMLReader appropriate for this document
1.19 + * @throws org.xml.sax.SAXException if we have no reader for given systemId
1.20 + */
1.21 + public XMLReader findReader(String systemId) throws SAXException;
1.22 +
1.23 +}