Package org.codehaus.staxmate
Class SMInputFactory.XmlFactoryAccessor
- java.lang.Object
-
- org.codehaus.staxmate.SMInputFactory.XmlFactoryAccessor
-
- Enclosing class:
- SMInputFactory
private static final class SMInputFactory.XmlFactoryAccessor extends java.lang.Object
Helper class used for implementing efficient lazy instantiation of the global xml stream input factory.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) javax.xml.stream.XMLInputFactory
mFactory
(package private) static SMInputFactory.XmlFactoryAccessor
sInstance
-
Constructor Summary
Constructors Modifier Constructor Description private
XmlFactoryAccessor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private javax.xml.stream.XMLInputFactory
get()
static javax.xml.stream.XMLInputFactory
getFactory()
-
-
-
Field Detail
-
sInstance
static final SMInputFactory.XmlFactoryAccessor sInstance
-
mFactory
javax.xml.stream.XMLInputFactory mFactory
-
-
Method Detail
-
getFactory
public static javax.xml.stream.XMLInputFactory getFactory() throws javax.xml.stream.FactoryConfigurationError
- Throws:
javax.xml.stream.FactoryConfigurationError
-
get
private javax.xml.stream.XMLInputFactory get() throws javax.xml.stream.FactoryConfigurationError
- Throws:
javax.xml.stream.FactoryConfigurationError
-
-