Class 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.
    • 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XmlFactoryAccessor

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