java/alt2xml-lib-output/src/cz/frantovo/alt2xml/out/Action.java
changeset 45 ce2013823604
parent 43 058c1c39251e
child 63 89acb486bb52
     1.1 --- a/java/alt2xml-lib-output/src/cz/frantovo/alt2xml/out/Action.java	Mon Jun 16 11:11:01 2014 +0200
     1.2 +++ b/java/alt2xml-lib-output/src/cz/frantovo/alt2xml/out/Action.java	Mon Jun 16 13:16:45 2014 +0200
     1.3 @@ -17,8 +17,8 @@
     1.4   */
     1.5  package cz.frantovo.alt2xml.out;
     1.6  
     1.7 -import org.xml.sax.ext.LexicalHandler;
     1.8 -import org.xml.sax.helpers.DefaultHandler;
     1.9 +import javax.xml.parsers.SAXParser;
    1.10 +import org.xml.sax.InputSource;
    1.11  
    1.12  /**
    1.13   * Executive class of an output module.
    1.14 @@ -27,13 +27,6 @@
    1.15   */
    1.16  public interface Action {
    1.17  
    1.18 -	public DefaultHandler getDefaultHandler();
    1.19 -
    1.20 -	/**
    1.21 -	 * For e.g. comment nodes.
    1.22 -	 *
    1.23 -	 * @return may return null if this output module does not support lexical events
    1.24 -	 */
    1.25 -	public LexicalHandler getLexicalHandler();
    1.26 +	public void run(SAXParser parser, InputSource source) throws OutputActionException;
    1.27  
    1.28  }