|
Return to www.inductionframework.org | |||||||||
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(java.lang.String sParamName)
Used to check if the specified HTML form has the specified parameter. |
boolean |
getBoolean(java.lang.String sParamName)
Return the value of the specified HTML form parameter as a boolean value |
com.acciente.commons.htmlform.FileHandle |
getFile(java.lang.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(java.lang.String sParamName)
Return the value of the specified HTML form parameter as a float value |
int |
getInteger(java.lang.String sParamName)
Return the value of the specified HTML form parameter as an integer value |
long |
getLong(java.lang.String sParamName)
Return the value of the specified HTML form parameter as a long value |
java.lang.Object |
getObject(java.lang.String sParamName)
Return the value of the specified HTML form parameter as an object value |
java.util.Set |
getParamNames()
Returns a list of the parameter names in the HTML form |
java.lang.String |
getString(java.lang.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 java.lang.Object getObject(java.lang.String sParamName) throws FormException
Form
getObject
in interface Form
sParamName
- the name of the HTML form parameter
FormException
public java.lang.String getString(java.lang.String sParamName) throws FormException
Form
getString
in interface Form
sParamName
- the name of the HTML form parameter
FormException
public int getInteger(java.lang.String sParamName) throws FormException
Form
getInteger
in interface Form
sParamName
- the name of the HTML form parameter
FormException
public float getFloat(java.lang.String sParamName) throws FormException
Form
getFloat
in interface Form
sParamName
- the name of the HTML form parameter
FormException
public long getLong(java.lang.String sParamName) throws FormException
Form
getLong
in interface Form
sParamName
- the name of the HTML form parameter
FormException
public boolean getBoolean(java.lang.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(java.lang.String sParamName) throws FormException
Form
getFile
in interface Form
sParamName
- the name of the HTML form parameter
FormException
public java.util.Set getParamNames() throws FormException
Form
getParamNames
in interface Form
FormException
public boolean containsParam(java.lang.String sParamName) throws FormException
Form
containsParam
in interface Form
sParamName
- the name of the HTML form parameter
FormException
|
Return to www.inductionframework.org | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |