org.ccil.cowan.tagsoup.jaxp

Class SAXFactoryImpl

public class SAXFactoryImpl extends SAXParserFactory

This is a simple implementation of JAXP SAXParserFactory, to allow easier integration of TagSoup with the default JDK xml processing stack.

Author: Tatu Saloranta (cowtowncoder@yahoo.com)

Constructor Summary
SAXFactoryImpl()
Method Summary
booleangetFeature(String name)
Returns whether the specified property will be enabled or disabled on reader instances constructed by this factory.
SAXParsernewSAXParser()
Creates a new instance of SAXParser using the currently configured factory parameters.
voidsetFeature(String name, boolean value)
Defines that the specified feature is to enabled/disabled (as per second argument) on reader instances created by this factory.

Constructor Detail

SAXFactoryImpl

public SAXFactoryImpl()

Method Detail

getFeature

public boolean getFeature(String name)
Returns whether the specified property will be enabled or disabled on reader instances constructed by this factory.

newSAXParser

public SAXParser newSAXParser()
Creates a new instance of SAXParser using the currently configured factory parameters.

setFeature

public void setFeature(String name, boolean value)
Defines that the specified feature is to enabled/disabled (as per second argument) on reader instances created by this factory.
Licence: Academic Free License 3.0 and/or GPL 2.0