Package org.apache.ofbiz.widget.model
Class TreeFactory
- java.lang.Object
-
- org.apache.ofbiz.widget.model.TreeFactory
-
public class TreeFactory extends java.lang.Object
Widget Library - Tree factory class
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
static UtilCache<java.lang.String,java.util.Map<java.lang.String,ModelTree>>
treeLocationCache
-
Constructor Summary
Constructors Constructor Description TreeFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ModelTree
getTreeFromLocation(java.lang.String resourceName, java.lang.String treeName, Delegator delegator, LocalDispatcher dispatcher)
static java.util.Map<java.lang.String,ModelTree>
readTreeDocument(org.w3c.dom.Document treeFileDoc, Delegator delegator, LocalDispatcher dispatcher, java.lang.String treeLocation)
-
-
-
Method Detail
-
getTreeFromLocation
public static ModelTree getTreeFromLocation(java.lang.String resourceName, java.lang.String treeName, Delegator 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
-
readTreeDocument
public static java.util.Map<java.lang.String,ModelTree> readTreeDocument(org.w3c.dom.Document treeFileDoc, Delegator delegator, LocalDispatcher dispatcher, java.lang.String treeLocation)
-
-