Package org.apache.ofbiz.widget.model
Class MenuFactory
java.lang.Object
org.apache.ofbiz.widget.model.MenuFactory
Widget Library - Menu factory class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ModelMenu
getMenuFromLocation
(String resourceName, String menuName, VisualTheme visualTheme) static ModelMenu
getMenuFromWebappContext
(String resourceName, String menuName, HttpServletRequest request) readMenuDocument
(Document menuFileDoc, String menuLocation, VisualTheme visualTheme)
-
Field Details
-
MENU_WEBAPP_CACHE
-
MENU_LOCATION_CACHE
-
-
Constructor Details
-
MenuFactory
public MenuFactory()
-
-
Method Details
-
getMenuFromWebappContext
public static ModelMenu getMenuFromWebappContext(String resourceName, String menuName, HttpServletRequest request) throws IOException, SAXException, ParserConfigurationException -
readMenuDocument
-
getMenuFromLocation
public static ModelMenu getMenuFromLocation(String resourceName, String menuName, VisualTheme visualTheme) throws IOException, SAXException, ParserConfigurationException
-