Class GridFactory


  • public class GridFactory
    extends java.lang.Object
    Widget Library - Grid factory class
    • Field Detail

      • module

        public static final java.lang.String module
    • Constructor Detail

      • GridFactory

        public GridFactory()
    • Method Detail

      • getGridsFromLocation

        public static java.util.Map<java.lang.String,​ModelGrid> getGridsFromLocation​(java.lang.String resourceName,
                                                                                           ModelReader entityModelReader,
                                                                                           DispatchContext dispatchContext)
                                                                                    throws java.io.IOException,
                                                                                           org.xml.sax.SAXException,
                                                                                           javax.xml.parsers.ParserConfigurationException
        Throws:
        java.io.IOException
        org.xml.sax.SAXException
        javax.xml.parsers.ParserConfigurationException
      • getGridFromLocation

        public static ModelGrid getGridFromLocation​(java.lang.String resourceName,
                                                    java.lang.String gridName,
                                                    ModelReader entityModelReader,
                                                    DispatchContext dispatchContext)
                                             throws java.io.IOException,
                                                    org.xml.sax.SAXException,
                                                    javax.xml.parsers.ParserConfigurationException
        Throws:
        java.io.IOException
        org.xml.sax.SAXException
        javax.xml.parsers.ParserConfigurationException
      • getGridFromWebappContext

        public static ModelGrid getGridFromWebappContext​(java.lang.String resourceName,
                                                         java.lang.String gridName,
                                                         javax.servlet.http.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
      • readGridDocument

        public static java.util.Map<java.lang.String,​ModelGrid> readGridDocument​(org.w3c.dom.Document gridFileDoc,
                                                                                       ModelReader entityModelReader,
                                                                                       DispatchContext dispatchContext,
                                                                                       java.lang.String gridLocation)
      • createModelGrid

        public static ModelGrid createModelGrid​(org.w3c.dom.Document gridFileDoc,
                                                ModelReader entityModelReader,
                                                DispatchContext dispatchContext,
                                                java.lang.String gridLocation,
                                                java.lang.String gridName)
      • createModelGrid

        public static ModelGrid createModelGrid​(org.w3c.dom.Element gridElement,
                                                ModelReader entityModelReader,
                                                DispatchContext dispatchContext,
                                                java.lang.String gridLocation,
                                                java.lang.String gridName)