|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Form
Represents the model portion of the HTML <form&gh; element. It does not represent any information related to the structure of the HTML document (for example, there is no id or name property), or any visual information.
| Method Summary | |
|---|---|
String |
getAction()
Returns the url that should be used when the form is submitted. |
String |
getBaseUrl()
Returns the base url. |
Encoding |
getEncoding()
Returns the Encoding used with this Form. |
Input |
getInput(String name)
Gets the Input with the given name. |
Input[] |
getInputs()
Gets the array of Inputs for this Form. |
Method |
getMethod()
Gets the HTTP Method to use when the form is submitted. |
| Method Detail |
|---|
String getBaseUrl()
String getAction()
Method getMethod()
Method to use when the form is submitted.
Method to use on submit.Input[] getInputs()
Inputs for this Form.
Inputs. The ordering of elements in
this array is not guaranteed.Input getInput(String name)
Input with the given name. If more than one
Input has this name, it is unspecified which will be returned.
Input with the given name. May be null.Encoding getEncoding()
Encoding used with this Form. By default, this is
UrlEncoded. The encoding is honored when submitting the form.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||