org.outerj.daisy.xmlutil
Class LocalSAXParserFactory

java.lang.Object
  extended by org.outerj.daisy.xmlutil.LocalSAXParserFactory

public final class LocalSAXParserFactory
extends java.lang.Object

Manages a ThreadLocal-based-cached SAXParserFactory instance.


Constructor Summary
LocalSAXParserFactory()
           
 
Method Summary
static javax.xml.parsers.SAXParserFactory getSAXParserFactory()
           
static org.xml.sax.XMLReader newXmlReader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalSAXParserFactory

public LocalSAXParserFactory()
Method Detail

getSAXParserFactory

public static javax.xml.parsers.SAXParserFactory getSAXParserFactory()

newXmlReader

public static org.xml.sax.XMLReader newXmlReader()
                                          throws javax.xml.parsers.ParserConfigurationException,
                                                 org.xml.sax.SAXException
Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException


Copyright © -2012 . All Rights Reserved.