Package org.pentaho.platform.config
Class WebXml
java.lang.Object
org.pentaho.platform.config.WebXml
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.getContextParamValue
(String name) org.dom4j.Document
getServletMapping
(String name) void
setBaseUrl
(String baseUrl) void
setContextConfigFileName
(String fileName) void
setContextParamValue
(String name, String value) void
setEncoding
(String encoding) void
setFullyQualifiedServerUrl
(String fullyQualifiedServerUrl) void
setHomePage
(String homePage) void
setLocaleCountry
(String country) void
setLocaleLanguage
(String language) boolean
setServletMapping
(String name, String value) void
setSolutionPath
(String solutionPath)
-
Field Details
-
PARAM_NAME_ELEMENT
- See Also:
-
PARAM_VALUE_ELEMENT
- See Also:
-
ROOT_ELEMENT
- See Also:
-
CONTEXT_CONFIG_CONTEXT_PARAM_NAME
- See Also:
-
BASE_URL_CONTEXT_PARAM_NAME
- See Also:
-
FULLY_QUALIFIED_SERVER_URL_CONTEXT_PARAM_NAME
- See Also:
-
SOLUTION_PATH_CONTEXT_PARAM_NAME
- See Also:
-
LOCALE_LANGUAGE_CONTEXT_PARAM_NAME
- See Also:
-
LOCALE_COUNTRY_CONTEXT_PARAM_NAME
- See Also:
-
ENCODING_CONTEXT_PARAM_NAME
- See Also:
-
HOME_SERVLET_NAME
- See Also:
-
CONTEXT_PARAM_ELEMENT
- See Also:
-
CONTEXT_PARAM_XPATH
- See Also:
-
CONTEXT_PARAM_NAME_TEMPLATE_XPATH
- See Also:
-
SERVLET_NAME_TEMPLATE_XPATH
- See Also:
-
-
Constructor Details
-
WebXml
public WebXml(File pentahoXmlFile) throws IOException, org.dom4j.DocumentException, org.pentaho.platform.api.util.XmlParseException - Throws:
IOException
org.dom4j.DocumentException
org.pentaho.platform.api.util.XmlParseException
-
WebXml
public WebXml(String xml) throws org.dom4j.DocumentException, org.pentaho.platform.api.util.XmlParseException - Throws:
org.dom4j.DocumentException
org.pentaho.platform.api.util.XmlParseException
-
WebXml
public WebXml(org.dom4j.Document doc) throws org.dom4j.DocumentException - Throws:
org.dom4j.DocumentException
-
WebXml
public WebXml()
-
-
Method Details
-
getContextConfigFileName
-
getBaseUrl
Deprecated.usegetFullyQualifiedServerUrl()
instead.- Returns:
- the fully qualified url of the server
-
getFullyQualifiedServerUrl
-
getSolutionPath
-
getLocaleLanguage
-
getLocaleCountry
-
getEncoding
-
getHomePage
-
setContextConfigFileName
-
setBaseUrl
-
setFullyQualifiedServerUrl
-
setSolutionPath
-
setLocaleLanguage
-
setLocaleCountry
-
setEncoding
-
setHomePage
-
getDocument
public org.dom4j.Document getDocument() -
getContextParamValue
-
setContextParamValue
-
setServletMapping
-
getServletMapping
-
getFullyQualifiedServerUrl()
instead.