org.ccil.cowan.tagsoup.jaxp

Class SAXParserImpl


public class SAXParserImpl
extends SAXParser

This is a simple implementation of JAXP SAXParser, to allow easier integration of TagSoup with the default JDK xml processing stack.
Author:
Tatu Saloranta (cowtowncoder@yahoo.com)

Constructor Summary

SAXParserImpl()

Method Summary

boolean
getFeature(String name)
org.xml.sax.Parser
getParser()
Deprecated.
Object
getProperty(String name)
XMLReader
getXMLReader()
boolean
isNamespaceAware()
boolean
isValidating()
static SAXParserImpl
newInstance(Map features)
void
setFeature(String name, boolean value)
void
setProperty(String name, Object value)

Constructor Details

SAXParserImpl

protected SAXParserImpl()

Method Details

getFeature

public boolean getFeature(String name)
            throws SAXNotRecognizedException,
                   SAXNotSupportedException

getParser

public org.xml.sax.Parser getParser()
            throws SAXException

Deprecated.

To support SAX1 interface, we'll need to use an adapter.

getProperty

public Object getProperty(String name)
            throws SAXNotRecognizedException,
                   SAXNotSupportedException

getXMLReader

public XMLReader getXMLReader()

isNamespaceAware

public boolean isNamespaceAware()

isValidating

public boolean isValidating()

newInstance

public static SAXParserImpl newInstance(Map features)
            throws SAXException

setFeature

public void setFeature(String name,
                       boolean value)
            throws SAXNotRecognizedException,
                   SAXNotSupportedException

setProperty

public void setProperty(String name,
                        Object value)
            throws SAXNotRecognizedException,
                   SAXNotSupportedException

Licence: Academic Free License 3.0 and/or GPL 2.0