Package org.codehaus.staxmate
Class SMOutputFactory.XmlFactoryAccessor
- java.lang.Object
-
- org.codehaus.staxmate.SMOutputFactory.XmlFactoryAccessor
-
- Enclosing class:
- SMOutputFactory
private static final class SMOutputFactory.XmlFactoryAccessor extends java.lang.ObjectSeparate helper class is used so that the shared factory instance is only created if needed: this happens if the accessor class needs to be instantiate, which in turn happens if the method for accessing the global output factory is called.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) javax.xml.stream.XMLOutputFactorymFactory(package private) static SMOutputFactory.XmlFactoryAccessorsInstance
-
Constructor Summary
Constructors Modifier Constructor Description privateXmlFactoryAccessor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.xml.stream.XMLOutputFactoryget()static javax.xml.stream.XMLOutputFactorygetFactory()
-
-
-
Field Detail
-
sInstance
static final SMOutputFactory.XmlFactoryAccessor sInstance
-
mFactory
javax.xml.stream.XMLOutputFactory mFactory
-
-
Method Detail
-
getFactory
public static javax.xml.stream.XMLOutputFactory getFactory() throws javax.xml.stream.FactoryConfigurationError- Throws:
javax.xml.stream.FactoryConfigurationError
-
get
public javax.xml.stream.XMLOutputFactory get() throws javax.xml.stream.FactoryConfigurationError- Throws:
javax.xml.stream.FactoryConfigurationError
-
-