org.ofbiz.widget.tree
Class TreeFactory
java.lang.Object
org.ofbiz.widget.tree.TreeFactory
public class TreeFactory
- extends java.lang.Object
Widget Library - Tree 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
treeLocationCache
public static final UtilCache<java.lang.String,java.util.Map<java.lang.String,ModelTree>> treeLocationCache
treeWebappCache
public static final UtilCache<java.lang.String,java.util.Map<java.lang.String,ModelTree>> treeWebappCache
TreeFactory
public TreeFactory()
getTreeFromLocation
public static ModelTree getTreeFromLocation(java.lang.String resourceName,
java.lang.String treeName,
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
getTreeFromWebappContext
public static ModelTree getTreeFromWebappContext(java.lang.String resourceName,
java.lang.String treeName,
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
readTreeDocument
public static java.util.Map<java.lang.String,ModelTree> readTreeDocument(org.w3c.dom.Document treeFileDoc,
GenericDelegator delegator,
LocalDispatcher dispatcher,
java.lang.String treeLocation)