Class SMOutputFactory.XmlFactoryAccessor

  • Enclosing class:
    SMOutputFactory

    private static final class SMOutputFactory.XmlFactoryAccessor
    extends java.lang.Object
    Separate 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.
    • Constructor Detail

      • XmlFactoryAccessor

        private XmlFactoryAccessor()
    • 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