Class TreeFactory


  • public class TreeFactory
    extends java.lang.Object
    Widget Library - Tree factory class
    • Field Detail

      • module

        public static final java.lang.String module
      • treeLocationCache

        public static final UtilCache<java.lang.String,​java.util.Map<java.lang.String,​ModelTree>> treeLocationCache
    • Constructor Detail

      • TreeFactory

        public TreeFactory()
    • 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)