|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.aris.actionservlet.Config
public class Config
This class contains servlet global configuration data. It is passed to every action.
Field Summary | |
---|---|
javax.servlet.ServletConfig |
config
The servletConfig structure. |
boolean |
debug
|
java.lang.String |
imagePath
Creates a new instance of hlConfig |
java.lang.String |
realPath
The real path, in the servers file system, of the servlet. |
java.lang.String |
servletName
The name of the servlet, i.e. |
Constructor Summary | |
---|---|
Config(javax.servlet.ServletConfig c,
boolean debug)
the constructor which is called by hlServlet. |
Method Summary | |
---|---|
java.lang.String |
getActionLink()
Getter for property actionLink. |
javax.servlet.ServletConfig |
getConfig()
Getter for property config. |
java.lang.String |
getContextPath()
Getter for property contextPath. |
java.lang.String |
getImagePath()
Getter for property imagePath. |
java.lang.String |
getRealPath()
Getter for property realPath. |
java.lang.String |
getServletName()
Getter for property servletName. |
java.lang.Class |
getTemplateHolderClass()
Returns the class that holds the templates |
void |
setActionLink(java.lang.String actionLink)
Setter for property actionLink. |
void |
setConfig(javax.servlet.ServletConfig config)
Setter for property config. |
void |
setContextPath(java.lang.String contextPath)
Setter for property contextPath. |
void |
setImagePath(java.lang.String imagePath)
Setter for property imagePath. |
void |
setRealPath(java.lang.String realPath)
Setter for property realPath. |
void |
setServletName(java.lang.String servletName)
Setter for property servletName. |
void |
setTemplateHolderClass(java.lang.Class templateHolderClass)
Sets the class that holds the templates. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean debug
public javax.servlet.ServletConfig config
public java.lang.String realPath
public java.lang.String servletName
public java.lang.String imagePath
Constructor Detail |
---|
public Config(javax.servlet.ServletConfig c, boolean debug)
c
- The configuration data.Method Detail |
---|
public javax.servlet.ServletConfig getConfig()
public void setConfig(javax.servlet.ServletConfig config)
config
- New value of property config.public java.lang.String getRealPath()
public void setRealPath(java.lang.String realPath)
realPath
- New value of property realPath.public java.lang.String getServletName()
public void setServletName(java.lang.String servletName)
servletName
- New value of property servletName.public java.lang.String getContextPath()
public void setContextPath(java.lang.String contextPath)
contextPath
- New value of property contextPath.public java.lang.String getImagePath()
public void setImagePath(java.lang.String imagePath)
imagePath
- New value of property imagePath.public java.lang.String getActionLink()
public void setActionLink(java.lang.String actionLink)
actionLink
- New value of property actionLink.public java.lang.Class getTemplateHolderClass()
public void setTemplateHolderClass(java.lang.Class templateHolderClass)
templateHolderClass
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |