Package org.apache.ofbiz.widget.model
Class GridFactory
- java.lang.Object
-
- org.apache.ofbiz.widget.model.GridFactory
-
public class GridFactory extends java.lang.Object
Widget Library - Grid factory class
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Constructor Summary
Constructors Constructor Description GridFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ModelGrid
createModelGrid(org.w3c.dom.Document gridFileDoc, ModelReader entityModelReader, DispatchContext dispatchContext, java.lang.String gridLocation, java.lang.String gridName)
static ModelGrid
createModelGrid(org.w3c.dom.Element gridElement, ModelReader entityModelReader, DispatchContext dispatchContext, java.lang.String gridLocation, java.lang.String gridName)
static ModelGrid
getGridFromLocation(java.lang.String resourceName, java.lang.String gridName, ModelReader entityModelReader, DispatchContext dispatchContext)
static ModelGrid
getGridFromWebappContext(java.lang.String resourceName, java.lang.String gridName, javax.servlet.http.HttpServletRequest request)
static java.util.Map<java.lang.String,ModelGrid>
getGridsFromLocation(java.lang.String resourceName, ModelReader entityModelReader, DispatchContext dispatchContext)
static java.util.Map<java.lang.String,ModelGrid>
readGridDocument(org.w3c.dom.Document gridFileDoc, ModelReader entityModelReader, DispatchContext dispatchContext, java.lang.String gridLocation)
-
-
-
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)
-
-