|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.acciente.induction.controller.HTMLForm
public class HTMLForm
Internal. The implementation backing the the Form interface.
Constructor Summary | |
---|---|
HTMLForm(javax.servlet.http.HttpServletRequest oHttpServletRequest,
Config.FileUpload oFileUploadConfig)
|
Method Summary | |
---|---|
boolean |
containsParam(String sParamName)
Used to check if the specified HTML form has the specified parameter. |
boolean |
getBoolean(String sParamName)
Return the value of the specified HTML form parameter as a boolean value |
com.acciente.commons.htmlform.FileHandle |
getFile(String sParamName)
Return the value of the specified HTML form parameter as a file handle, this method should only be used to access a form parameter that represents an uploded file |
float |
getFloat(String sParamName)
Return the value of the specified HTML form parameter as a float value |
int |
getInteger(String sParamName)
Return the value of the specified HTML form parameter as an integer value |
List |
getList(String sParamName)
Return the value of the specified list HTML form parameter |
long |
getLong(String sParamName)
Return the value of the specified HTML form parameter as a long value |
Map |
getMap(String sParamName)
Return the value of the specified map HTML form parameter |
Object |
getObject(String sParamName)
Return the value of the specified HTML form parameter as an object value |
Set |
getParamNames()
Returns a list of the parameter names in the HTML form |
String |
getString(String sParamName)
Return the value of the specified HTML form parameter as a string value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTMLForm(javax.servlet.http.HttpServletRequest oHttpServletRequest, Config.FileUpload oFileUploadConfig)
Method Detail |
---|
public Object getObject(String sParamName) throws FormException
Form
getObject
in interface Form
sParamName
- the name of the HTML form parameter
FormException
public List getList(String sParamName) throws FormException
Form
getList
in interface Form
sParamName
- the name of the HTML form parameter
FormException
public Map getMap(String sParamName) throws FormException
Form
getMap
in interface Form
sParamName
- the name of the HTML form parameter
FormException
public String getString(String sParamName) throws FormException
Form
getString
in interface Form
sParamName
- the name of the HTML form parameter
FormException
public int getInteger(String sParamName) throws FormException
Form
getInteger
in interface Form
sParamName
- the name of the HTML form parameter
FormException
public float getFloat(String sParamName) throws FormException
Form
getFloat
in interface Form
sParamName
- the name of the HTML form parameter
FormException
public long getLong(String sParamName) throws FormException
Form
getLong
in interface Form
sParamName
- the name of the HTML form parameter
FormException
public boolean getBoolean(String sParamName) throws FormException
Form
getBoolean
in interface Form
sParamName
- the name of the HTML form parameter
FormException
public com.acciente.commons.htmlform.FileHandle getFile(String sParamName) throws FormException
Form
getFile
in interface Form
sParamName
- the name of the HTML form parameter
FormException
public Set getParamNames() throws FormException
Form
getParamNames
in interface Form
FormException
public boolean containsParam(String sParamName) throws FormException
Form
containsParam
in interface Form
sParamName
- the name of the HTML form parameter
FormException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |