net.groboclown.xml.resource.v1
Class XMLReaderUtil

java.lang.Object
  |
  +--net.groboclown.xml.resource.v1.XMLReaderUtil

public class XMLReaderUtil
extends Object

When JAXP becomes standardized, this can simply call the JAXP interface.


Field Summary
private static String DEFAULT_XML_READER
           
private  IGetXMLReader m_xmlReader
           
protected static XMLReaderUtil s_instance
           
private static String XML_READER_KEY
           
 
Constructor Summary
protected XMLReaderUtil()
          Default constructor - protected since this is a utility class.
 
Method Summary
static XMLReaderUtil getInstance()
           
 XMLReader getXMLReader()
          Creates a new XMLReader based on the registered XML package.
 void setGetXMLReader(String className)
          Sets the XMLReader getter.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

s_instance

protected static XMLReaderUtil s_instance

m_xmlReader

private IGetXMLReader m_xmlReader

DEFAULT_XML_READER

private static final String DEFAULT_XML_READER

XML_READER_KEY

private static final String XML_READER_KEY
Constructor Detail

XMLReaderUtil

protected XMLReaderUtil()
Default constructor - protected since this is a utility class.
Method Detail

getInstance

public static XMLReaderUtil getInstance()

setGetXMLReader

public void setGetXMLReader(String className)
Sets the XMLReader getter. This will override any current settings.

getXMLReader

public XMLReader getXMLReader()
                       throws SAXException
Creates a new XMLReader based on the registered XML package.


Written under the LGPL