org.ccil.cowan.tagsoup.jaxp
Class SAX1ParserAdapter
java.lang.Object
org.ccil.cowan.tagsoup.jaxp.SAX1ParserAdapter
- org.xml.sax.Parser
public class SAX1ParserAdapter
extends java.lang.Object
implements org.xml.sax.Parser
This is a simpler adapter class that allows using SAX1 interface on top
of basic SAX2 implementation, such as TagSoup.
- Tatu Saloranta (cowtowncoder@yahoo.com)
SAX1ParserAdapter
public SAX1ParserAdapter(XMLReader xr)
parse
public void parse(InputSource source)
throws SAXException
parse
public void parse(String systemId)
throws SAXException
setDTDHandler
public void setDTDHandler(DTDHandler h)
setDocumentHandler
public void setDocumentHandler(DocumentHandler h)
setEntityResolver
public void setEntityResolver(EntityResolver r)
setErrorHandler
public void setErrorHandler(ErrorHandler h)
setLocale
public void setLocale(java.util.Locale locale)
throws SAXException
Licence: Academic Free License 3.0 and/or GPL 2.0