Package org.ccil.cowan.tagsoup.jaxp
Class SAXFactoryImpl
- java.lang.Object
-
- javax.xml.parsers.SAXParserFactory
-
- org.ccil.cowan.tagsoup.jaxp.SAXFactoryImpl
-
public class SAXFactoryImpl extends javax.xml.parsers.SAXParserFactoryThis is a simple implementation of JAXPSAXParserFactory, to allow easier integration of TagSoup with the default JDK xml processing stack.- Author:
- Tatu Saloranta (cowtowncoder@yahoo.com)
-
-
Constructor Summary
Constructors Constructor Description SAXFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetFeature(java.lang.String name)Returns whether the specified property will be enabled or disabled on reader instances constructed by this factory.javax.xml.parsers.SAXParsernewSAXParser()Creates a new instance ofSAXParserusing the currently configured factory parameters.voidsetFeature(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.
-
-
-
Method Detail
-
newSAXParser
public javax.xml.parsers.SAXParser newSAXParser() throws javax.xml.parsers.ParserConfigurationExceptionCreates a new instance ofSAXParserusing the currently configured factory parameters.- Specified by:
newSAXParserin classjavax.xml.parsers.SAXParserFactory- Throws:
javax.xml.parsers.ParserConfigurationException
-
setFeature
public void setFeature(java.lang.String name, boolean value) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedExceptionDefines that the specified feature is to enabled/disabled (as per second argument) on reader instances created by this factory.- Specified by:
setFeaturein classjavax.xml.parsers.SAXParserFactory- Throws:
javax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXNotRecognizedExceptionorg.xml.sax.SAXNotSupportedException
-
getFeature
public boolean getFeature(java.lang.String name) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedExceptionReturns whether the specified property will be enabled or disabled on reader instances constructed by this factory.- Specified by:
getFeaturein classjavax.xml.parsers.SAXParserFactory- Throws:
javax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXNotRecognizedExceptionorg.xml.sax.SAXNotSupportedException
-
-