org.ofbiz.widget.menu
Class MenuFactory
java.lang.Object
org.ofbiz.widget.menu.MenuFactory
public class MenuFactory
- extends java.lang.Object
Widget Library - Menu 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
menuWebappCache
public static final UtilCache<java.lang.String,java.util.Map<java.lang.String,ModelMenu>> menuWebappCache
menuLocationCache
public static final UtilCache<java.lang.String,java.util.Map<java.lang.String,ModelMenu>> menuLocationCache
MenuFactory
public MenuFactory()
getMenuFromWebappContext
public static ModelMenu getMenuFromWebappContext(java.lang.String resourceName,
java.lang.String menuName,
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
readMenuDocument
public static java.util.Map<java.lang.String,ModelMenu> readMenuDocument(org.w3c.dom.Document menuFileDoc,
GenericDelegator delegator,
LocalDispatcher dispatcher,
java.lang.String menuLocation)
getMenuFromLocation
public static ModelMenu getMenuFromLocation(java.lang.String resourceName,
java.lang.String menuName,
GenericDelegator delegator,
LocalDispatcher dispatcher)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
- Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException