org.ccil.cowan.tagsoup.jaxp
Class SAXParserImpl
SAXParser
org.ccil.cowan.tagsoup.jaxp.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.
- Tatu Saloranta (cowtowncoder@yahoo.com)
SAXParserImpl
protected SAXParserImpl()
getFeature
public boolean getFeature(String name)
throws SAXNotRecognizedException,
SAXNotSupportedException
getParser
public org.xml.sax.Parser getParser()
throws SAXException
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