Package org.ccil.cowan.tagsoup.jaxp
Class SAXParserImpl
java.lang.Object
javax.xml.parsers.SAXParser
org.ccil.cowan.tagsoup.jaxp.SAXParserImpl
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getFeature
(String name) Deprecated.getProperty
(String name) boolean
boolean
static SAXParserImpl
newInstance
(Map features) void
setFeature
(String name, boolean value) void
setProperty
(String name, Object value)
-
Constructor Details
-
SAXParserImpl
protected SAXParserImpl()
-
-
Method Details
-
newInstance
- Throws:
SAXException
-
getParser
Deprecated.To support SAX1 interface, we'll need to use an adapter.- Specified by:
getParser
in classSAXParser
- Throws:
SAXException
-
getXMLReader
- Specified by:
getXMLReader
in classSAXParser
-
isNamespaceAware
public boolean isNamespaceAware()- Specified by:
isNamespaceAware
in classSAXParser
-
isValidating
public boolean isValidating()- Specified by:
isValidating
in classSAXParser
-
setProperty
public void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException - Specified by:
setProperty
in classSAXParser
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
-
getProperty
- Specified by:
getProperty
in classSAXParser
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
-
setFeature
public void setFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupportedException -
getFeature
-