org.ofbiz.webapp.control
Class ConfigXMLReader
java.lang.Object
org.ofbiz.webapp.control.ConfigXMLReader
public class ConfigXMLReader
- extends java.lang.Object
ConfigXMLReader.java - Reads and parses the XML site config files.
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
controllerXmlFileName
public static final java.lang.String controllerXmlFileName
- See Also:
- Constant Field Values
controllerCache
public static UtilCache<java.net.URL,ConfigXMLReader.ControllerConfig> controllerCache
controllerSearchResultsCache
public static UtilCache<java.lang.String,java.util.List<ConfigXMLReader.ControllerConfig>> controllerSearchResultsCache
emptyNoneRequestResponse
public static final ConfigXMLReader.RequestResponse emptyNoneRequestResponse
ConfigXMLReader
public ConfigXMLReader()
getControllerConfigURL
public static java.net.URL getControllerConfigURL(ServletContext context)
getControllerConfig
public static ConfigXMLReader.ControllerConfig getControllerConfig(java.net.URL url)
findControllerFilesWithRequest
public static java.util.Set<java.lang.String> findControllerFilesWithRequest(java.lang.String requestUri,
java.lang.String controllerPartialPath)
throws GeneralException
- Throws:
GeneralException
findControllerRequestUniqueForTargetType
public static java.util.Set<java.lang.String> findControllerRequestUniqueForTargetType(java.lang.String target,
java.lang.String urlMode)
throws GeneralException
- Throws:
GeneralException
loadDocument
public static org.w3c.dom.Element loadDocument(java.net.URL location)
- Loads the XML file and returns the root element