Package org.apache.ofbiz.webapp.control
Class ConfigXMLReader
- java.lang.Object
-
- org.apache.ofbiz.webapp.control.ConfigXMLReader
-
public class ConfigXMLReader extends java.lang.Object
ConfigXMLReader.java - Reads and parses the XML site config files.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConfigXMLReader.ControllerConfig
static class
ConfigXMLReader.Event
static class
ConfigXMLReader.RequestMap
static class
ConfigXMLReader.RequestResponse
static class
ConfigXMLReader.ViewMap
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
controllerXmlFileName
static ConfigXMLReader.RequestResponse
emptyNoneRequestResponse
static java.lang.String
module
-
Constructor Summary
Constructors Constructor Description ConfigXMLReader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Set<java.lang.String>
findControllerFilesWithRequest(java.lang.String requestUri, java.lang.String controllerPartialPath)
static java.util.Set<java.lang.String>
findControllerRequestUniqueForTargetType(java.lang.String target, java.lang.String urlMode)
static ConfigXMLReader.ControllerConfig
getControllerConfig(java.net.URL url)
static ConfigXMLReader.ControllerConfig
getControllerConfig(ComponentConfig.WebappInfo webAppInfo)
static java.net.URL
getControllerConfigURL(javax.servlet.ServletContext context)
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
controllerXmlFileName
public static final java.lang.String controllerXmlFileName
- See Also:
- Constant Field Values
-
emptyNoneRequestResponse
public static final ConfigXMLReader.RequestResponse emptyNoneRequestResponse
-
-
Method Detail
-
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
-
getControllerConfig
public static ConfigXMLReader.ControllerConfig getControllerConfig(ComponentConfig.WebappInfo webAppInfo) throws WebAppConfigurationException, java.net.MalformedURLException
- Throws:
WebAppConfigurationException
java.net.MalformedURLException
-
getControllerConfig
public static ConfigXMLReader.ControllerConfig getControllerConfig(java.net.URL url) throws WebAppConfigurationException
- Throws:
WebAppConfigurationException
-
getControllerConfigURL
public static java.net.URL getControllerConfigURL(javax.servlet.ServletContext context)
-
-