Class ScreenFactory


  • public class ScreenFactory
    extends java.lang.Object
    Widget Library - Screen factory class
    • Field Detail

      • module

        public static final java.lang.String module
      • screenLocationCache

        public static final UtilCache<java.lang.String,​java.util.Map<java.lang.String,​ModelScreen>> screenLocationCache
      • screenWebappCache

        public static final UtilCache<java.lang.String,​java.util.Map<java.lang.String,​ModelScreen>> screenWebappCache
    • Constructor Detail

      • ScreenFactory

        public ScreenFactory()
    • Method Detail

      • isCombinedName

        public static boolean isCombinedName​(java.lang.String combinedName)
      • getResourceNameFromCombined

        public static java.lang.String getResourceNameFromCombined​(java.lang.String combinedName)
      • getScreenNameFromCombined

        public static java.lang.String getScreenNameFromCombined​(java.lang.String combinedName)
      • getScreenFromLocation

        public static ModelScreen getScreenFromLocation​(java.lang.String combinedName)
                                                 throws java.io.IOException,
                                                        org.xml.sax.SAXException,
                                                        javax.xml.parsers.ParserConfigurationException
        Throws:
        java.io.IOException
        org.xml.sax.SAXException
        javax.xml.parsers.ParserConfigurationException
      • getScreenFromLocation

        public static ModelScreen getScreenFromLocation​(java.lang.String resourceName,
                                                        java.lang.String screenName)
                                                 throws java.io.IOException,
                                                        org.xml.sax.SAXException,
                                                        javax.xml.parsers.ParserConfigurationException
        Throws:
        java.io.IOException
        org.xml.sax.SAXException
        javax.xml.parsers.ParserConfigurationException
      • getScreensFromLocation

        public static java.util.Map<java.lang.String,​ModelScreen> getScreensFromLocation​(java.lang.String resourceName)
                                                                                        throws java.io.IOException,
                                                                                               org.xml.sax.SAXException,
                                                                                               javax.xml.parsers.ParserConfigurationException
        Throws:
        java.io.IOException
        org.xml.sax.SAXException
        javax.xml.parsers.ParserConfigurationException
      • getScreenFromWebappContext

        public static ModelScreen getScreenFromWebappContext​(java.lang.String resourceName,
                                                             java.lang.String screenName,
                                                             HttpServletRequest request)
                                                      throws java.io.IOException,
                                                             org.xml.sax.SAXException,
                                                             javax.xml.parsers.ParserConfigurationException
        Throws:
        java.io.IOException
        org.xml.sax.SAXException
        javax.xml.parsers.ParserConfigurationException
      • readScreenDocument

        public static java.util.Map<java.lang.String,​ModelScreen> readScreenDocument​(org.w3c.dom.Document screenFileDoc,
                                                                                           java.lang.String sourceLocation)