Package org.pentaho.platform.config
Class WebXml
java.lang.Object
org.pentaho.platform.config.WebXml
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.getContextParamValue(String name) org.dom4j.DocumentgetServletMapping(String name) voidsetBaseUrl(String baseUrl) voidsetContextConfigFileName(String fileName) voidsetContextParamValue(String name, String value) voidsetEncoding(String encoding) voidsetFullyQualifiedServerUrl(String fullyQualifiedServerUrl) voidsetHomePage(String homePage) voidsetLocaleCountry(String country) voidsetLocaleLanguage(String language) booleansetServletMapping(String name, String value) voidsetSolutionPath(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:
IOExceptionorg.dom4j.DocumentExceptionorg.pentaho.platform.api.util.XmlParseException
-
WebXml
public WebXml(String xml) throws org.dom4j.DocumentException, org.pentaho.platform.api.util.XmlParseException - Throws:
org.dom4j.DocumentExceptionorg.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.