org.ccil.cowan.tagsoup.jaxp

Class SAX1ParserAdapter

public class SAX1ParserAdapter extends Object implements Parser

Deprecated:

This is a simpler adapter class that allows using SAX1 interface on top of basic SAX2 implementation, such as TagSoup.

Author: Tatu Saloranta (cowtowncoder@yahoo.com)

Constructor Summary
SAX1ParserAdapter(XMLReader xr)
Method Summary
voidparse(InputSource source)
voidparse(String systemId)
voidsetDocumentHandler(DocumentHandler h)
voidsetDTDHandler(DTDHandler h)
voidsetEntityResolver(EntityResolver r)
voidsetErrorHandler(ErrorHandler h)
voidsetLocale(Locale locale)

Constructor Detail

SAX1ParserAdapter

public SAX1ParserAdapter(XMLReader xr)

Method Detail

parse

public void parse(InputSource source)

parse

public void parse(String systemId)

setDocumentHandler

public void setDocumentHandler(DocumentHandler h)

Deprecated:

setDTDHandler

public void setDTDHandler(DTDHandler h)

setEntityResolver

public void setEntityResolver(EntityResolver r)

setErrorHandler

public void setErrorHandler(ErrorHandler h)

setLocale

public void setLocale(Locale locale)
Licence: Academic Free License 3.0 and/or GPL 2.0