public class WebXml extends Object
Constructor and Description |
---|
WebXml() |
WebXml(org.dom4j.Document doc) |
WebXml(File pentahoXmlFile) |
WebXml(String xml) |
Modifier and Type | Method and Description |
---|---|
String |
getBaseUrl()
Deprecated.
use
getFullyQualifiedServerUrl() instead. |
String |
getContextConfigFileName() |
String |
getContextParamValue(String name) |
org.dom4j.Document |
getDocument() |
String |
getEncoding() |
String |
getFullyQualifiedServerUrl() |
String |
getHomePage() |
String |
getLocaleCountry() |
String |
getLocaleLanguage() |
String |
getServletMapping(String name) |
String |
getSolutionPath() |
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) |
public WebXml(File pentahoXmlFile) throws IOException, org.dom4j.DocumentException, org.pentaho.platform.api.util.XmlParseException
IOException
org.dom4j.DocumentException
org.pentaho.platform.api.util.XmlParseException
public WebXml(String xml) throws org.dom4j.DocumentException, org.pentaho.platform.api.util.XmlParseException
org.dom4j.DocumentException
org.pentaho.platform.api.util.XmlParseException
public WebXml(org.dom4j.Document doc) throws org.dom4j.DocumentException
org.dom4j.DocumentException
public WebXml()
public String getContextConfigFileName()
@Deprecated public String getBaseUrl()
getFullyQualifiedServerUrl()
instead.public String getFullyQualifiedServerUrl()
public String getSolutionPath()
public String getLocaleLanguage()
public String getLocaleCountry()
public String getEncoding()
public String getHomePage()
public void setContextConfigFileName(String fileName)
public void setBaseUrl(String baseUrl)
public void setFullyQualifiedServerUrl(String fullyQualifiedServerUrl)
public void setSolutionPath(String solutionPath)
public void setLocaleLanguage(String language)
public void setLocaleCountry(String country)
public void setEncoding(String encoding)
public void setHomePage(String homePage)
public org.dom4j.Document getDocument()