franta-hg@43: /** franta-hg@43: * Alt2XML franta-hg@43: * Copyright © 2014 František Kučera (frantovo.cz) franta-hg@43: * franta-hg@43: * This program is free software: you can redistribute it and/or modify franta-hg@43: * it under the terms of the GNU General Public License as published by franta-hg@43: * the Free Software Foundation, either version 3 of the License, or franta-hg@43: * (at your option) any later version. franta-hg@43: * franta-hg@43: * This program is distributed in the hope that it will be useful, franta-hg@43: * but WITHOUT ANY WARRANTY; without even the implied warranty of franta-hg@43: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the franta-hg@43: * GNU General Public License for more details. franta-hg@43: * franta-hg@43: * You should have received a copy of the GNU General Public License franta-hg@43: * along with this program. If not, see . franta-hg@43: */ franta-hg@43: package cz.frantovo.alt2xml.out; franta-hg@43: franta-hg@43: import org.xml.sax.ext.LexicalHandler; franta-hg@43: import org.xml.sax.helpers.DefaultHandler; franta-hg@43: franta-hg@43: /** franta-hg@43: * Executive class of an output module. franta-hg@43: * franta-hg@43: * @author Ing. František Kučera (frantovo.cz) franta-hg@43: */ franta-hg@43: public interface Action { franta-hg@43: franta-hg@43: public DefaultHandler getDefaultHandler(); franta-hg@43: franta-hg@43: /** franta-hg@43: * For e.g. comment nodes. franta-hg@43: * franta-hg@43: * @return may return null if this output module does not support lexical events franta-hg@43: */ franta-hg@43: public LexicalHandler getLexicalHandler(); franta-hg@43: franta-hg@43: }