franta-hg@13: /** franta-hg@13: * Alt2XML franta-hg@13: * Copyright © 2014 František Kučera (frantovo.cz) franta-hg@13: * franta-hg@13: * This program is free software: you can redistribute it and/or modify franta-hg@13: * it under the terms of the GNU General Public License as published by franta-hg@111: * the Free Software Foundation, version 3 of the License. franta-hg@13: * franta-hg@13: * This program is distributed in the hope that it will be useful, franta-hg@13: * but WITHOUT ANY WARRANTY; without even the implied warranty of franta-hg@13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the franta-hg@13: * GNU General Public License for more details. franta-hg@13: * franta-hg@13: * You should have received a copy of the GNU General Public License franta-hg@13: * along with this program. If not, see . franta-hg@13: */ franta-hg@13: package cz.frantovo.alt2xml; franta-hg@13: franta-hg@34: import org.xml.sax.SAXException; franta-hg@13: import org.xml.sax.XMLReader; franta-hg@13: franta-hg@13: /** franta-hg@13: * franta-hg@13: * @author Ing. František Kučera (frantovo.cz) franta-hg@13: */ franta-hg@13: public interface Alt2XmlReaderFactory { franta-hg@13: franta-hg@13: /** franta-hg@36: * @param inputSource source of the document to be read franta-hg@13: * @return whether this alternative format is supported franta-hg@13: */ franta-hg@36: public boolean canRead(AltInputSource inputSource); franta-hg@13: franta-hg@34: public XMLReader getReader() throws SAXException; franta-hg@13: }