|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFormInputConverter
Interface that represents a converter to migrate data from an input form to a particular data type.
Method Summary | |
---|---|
java.lang.Object |
convertInput(javax.servlet.http.HttpServletRequest request,
MultipartElement element)
Convert the input to the appropiate data type |
java.lang.Object |
convertInput(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
java.lang.String value)
Convert the input to the appropiate data type |
java.lang.String |
getJspPage()
|
void |
renderFieldInput(ICommandField field,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Render the JSP to create the input for the given field |
Method Detail |
---|
void renderFieldInput(ICommandField field, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
field
- the field to renderrequest
- the current servlet requestresponse
- the current servlet response
javax.servlet.ServletException
java.io.IOException
java.lang.String getJspPage()
java.lang.Object convertInput(javax.servlet.http.HttpServletRequest request, java.lang.String name, java.lang.String value) throws javax.servlet.ServletException
request
- the current requestname
- the name of the parametervalue
- the value as retrieved from the request object
javax.servlet.ServletException
java.lang.Object convertInput(javax.servlet.http.HttpServletRequest request, MultipartElement element) throws javax.servlet.ServletException
request
- the current requestelement
- the multipart element if this is a multipart post
javax.servlet.ServletException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |