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