java/alt2xml/src/cz/frantovo/alt2xml/SAXTovarna.java
changeset 2 be5bfbe1f0cd
child 3 6c608fd8c019
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/java/alt2xml/src/cz/frantovo/alt2xml/SAXTovarna.java	Mon Jan 02 20:15:52 2012 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +package cz.frantovo.alt2xml;
     1.5 +
     1.6 +import javax.xml.parsers.ParserConfigurationException;
     1.7 +import javax.xml.parsers.SAXParser;
     1.8 +import javax.xml.parsers.SAXParserFactory;
     1.9 +import org.xml.sax.SAXException;
    1.10 +import org.xml.sax.SAXNotRecognizedException;
    1.11 +import org.xml.sax.SAXNotSupportedException;
    1.12 +
    1.13 +/**
    1.14 + *
    1.15 + * @author fiki
    1.16 + */
    1.17 +public class SAXTovarna extends SAXParserFactory {
    1.18 +
    1.19 +	@Override
    1.20 +	public SAXParser newSAXParser() throws ParserConfigurationException, SAXException {
    1.21 +		return new AltParser();
    1.22 +	}
    1.23 +
    1.24 +	@Override
    1.25 +	public void setFeature(String name, boolean value) throws ParserConfigurationException, SAXNotRecognizedException, SAXNotSupportedException {
    1.26 +		throw new UnsupportedOperationException("Not supported yet.");
    1.27 +	}
    1.28 +
    1.29 +	@Override
    1.30 +	public boolean getFeature(String name) throws ParserConfigurationException, SAXNotRecognizedException, SAXNotSupportedException {
    1.31 +		throw new UnsupportedOperationException("Not supported yet.");
    1.32 +	}
    1.33 +	
    1.34 +}