1 17 package org.apache.excalibur.xml.sax; 18 19 import java.io.IOException ; 20 21 import org.xml.sax.ContentHandler ; 22 import org.xml.sax.InputSource ; 23 import org.xml.sax.SAXException ; 24 import org.xml.sax.ext.LexicalHandler ; 25 26 35 public interface SAXParser 36 { 37 String ROLE = SAXParser.class.getName(); 38 39 46 void parse( InputSource in, ContentHandler consumer ) 47 throws SAXException , IOException ; 48 49 54 void parse( InputSource in, 55 ContentHandler contentHandler, 56 LexicalHandler lexicalHandler ) 57 throws SAXException , IOException ; 58 } 59 | Popular Tags |