|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.eclipse.soda.dk.device.servlet.DeviceServlet
org.eclipse.soda.dk.device.property.servlet.DevicePropertyServlet
public class DevicePropertyServlet
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.soda.dk.device.servlet.service.DeviceServletService |
|---|
SERVICE_NAME |
| Constructor Summary | |
|---|---|
DevicePropertyServlet()
Constructs an instance of this class. |
|
| Method Summary | |
|---|---|
void |
changeProperty(DeviceServletContext context,
java.util.Properties table)
Change property with the specified context and table parameters. |
java.lang.Object |
convert(java.lang.Object value)
Convert with the specified value parameter and return the Object result. |
DeviceServletContext |
createContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Create context with the specified request and response parameters and return the DeviceServletContext result. |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Do post with the specified request and response parameters. |
int |
getColorValue()
Gets the color value (int) value. |
java.lang.String |
getTextDataFix(java.lang.String string)
Get text data fix with the specified string parameter and return the String result. |
void |
processMap(DevicePropertyServletContext context,
java.util.Map map,
java.lang.String name)
Process map with the specified context, map and name parameters. |
void |
processProperties(DevicePropertyServletContext context)
Process properties with the specified context parameter. |
void |
processRequest(DeviceServletContext context)
Process request with the specified context parameter. |
void |
resetColorValue()
Reset color value. |
void |
setColorValue(int colorValue)
Sets the color value value. |
void |
updateColorValue()
Update color value. |
| Methods inherited from class org.eclipse.soda.dk.device.servlet.DeviceServlet |
|---|
buildMenu, doGet, escape, escape, findAttribute, getBundleContext, getBundles, getResouceAliasDefault, getResoucePathDefault, getResourceAlias, getResourcePath, getServer, getServiceReferences, getServletAlias, getServletAliasDefault, processFileRequest, processOverview, setBundleContext, setResourceAlias, setResourcePath, setServer, setServletAlias, setup |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.soda.dk.device.servlet.service.DeviceServletService |
|---|
getServletAlias |
| Methods inherited from interface javax.servlet.Servlet |
|---|
destroy, getServletConfig, getServletInfo, init, service |
| Constructor Detail |
|---|
public DevicePropertyServlet()
| Method Detail |
|---|
public void changeProperty(DeviceServletContext context,
java.util.Properties table)
DeviceServletContext) parameter.
The table (Properties) parameter.
context - The context (DeviceServletContext) parameter.table - The table (Properties) parameter.public java.lang.Object convert(java.lang.Object value)
Object) parameter.
value - The value (Object) parameter.
Object) value.
public DeviceServletContext createContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
HttpServletRequest) parameter.
The response (HttpServletResponse) parameter.
createContext in class DeviceServletrequest - The request (HttpServletRequest) parameter.response - The response (HttpServletResponse) parameter.
DeviceServletContext)
value.DeviceServlet.getBundleContext(),
DeviceServlet.setBundleContext(BundleContext)
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
HttpServletRequest) parameter.
The response (HttpServletResponse) parameter.
Servlet Exception.
doPost in class DeviceServletrequest - The request (HttpServletRequest) parameter.response - The response (HttpServletResponse) parameter.
javax.servlet.ServletException - Servlet Exception.
java.io.IOExceptionpublic int getColorValue()
int) value.resetColorValue(),
setColorValue(int),
updateColorValue()public java.lang.String getTextDataFix(java.lang.String string)
String) parameter.
string - The string (String) parameter.
String) value.
public void processMap(DevicePropertyServletContext context,
java.util.Map map,
java.lang.String name)
DevicePropertyServletContext)
parameter.
The map (Map) parameter.
The name (String) parameter.
context - The context (DevicePropertyServletContext) parameter.map - The map (Map) parameter.name - The name (String) parameter.public void processProperties(DevicePropertyServletContext context)
DevicePropertyServletContext)
parameter.
context - The context (DevicePropertyServletContext) parameter.public void processRequest(DeviceServletContext context)
DeviceServletContext) parameter.
processRequest in class DeviceServletcontext - The context (DeviceServletContext) parameter.DeviceServlet.processFileRequest(DeviceServletContext)public void resetColorValue()
getColorValue(),
setColorValue(int),
updateColorValue()public void setColorValue(int colorValue)
int) parameter.
colorValue - The color value (int) parameter.getColorValue(),
resetColorValue(),
updateColorValue()public void updateColorValue()
getColorValue(),
resetColorValue(),
setColorValue(int)
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||