org.ofbiz.widget.screen
Class ScreenFactory
java.lang.Object
org.ofbiz.widget.screen.ScreenFactory
public class ScreenFactory
- extends java.lang.Object
Widget Library - Screen factory class
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
ScreenFactory
public ScreenFactory()
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)