public class SAXFactoryImpl
extends javax.xml.parsers.SAXParserFactory
SAXParserFactory,
to allow easier integration of TagSoup with the default JDK
xml processing stack.| Constructor and Description |
|---|
SAXFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getFeature(java.lang.String name)
Returns whether the specified property will be enabled or disabled
on reader instances constructed by this factory.
|
javax.xml.parsers.SAXParser |
newSAXParser()
Creates a new instance of
SAXParser using the currently
configured factory parameters. |
void |
setFeature(java.lang.String name,
boolean value)
Defines that the specified feature is to enabled/disabled (as
per second argument) on reader instances created by this
factory.
|
public javax.xml.parsers.SAXParser newSAXParser()
throws javax.xml.parsers.ParserConfigurationException
SAXParser using the currently
configured factory parameters.newSAXParser in class javax.xml.parsers.SAXParserFactoryjavax.xml.parsers.ParserConfigurationExceptionpublic void setFeature(java.lang.String name,
boolean value)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
setFeature in class javax.xml.parsers.SAXParserFactoryjavax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXNotRecognizedExceptionorg.xml.sax.SAXNotSupportedExceptionpublic boolean getFeature(java.lang.String name)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
getFeature in class javax.xml.parsers.SAXParserFactoryjavax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXNotRecognizedExceptionorg.xml.sax.SAXNotSupportedExceptionLicence: Academic Free License 3.0 and/or GPL 2.0