|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HTMLForm
This is an interface to implement a specific HTMLForm type. This object allows for the programatic building of HTML Forms.
| Field Summary | |
|---|---|
static java.lang.String |
GET
|
static java.lang.String |
POST
|
| Method Summary | |
|---|---|
void |
addElement(FormElement element)
Adds a FormElement to this form. |
java.lang.String |
getAccept()
Getter for property accept. |
java.lang.String |
getAction()
Gets the action parameter that this method has. |
java.util.List |
getElements()
Get a list of all of the top level elements contained in this form. |
java.lang.String |
getEncoding()
Getter for property encoding. |
java.lang.String |
getMethod()
Gets the method that this form will use to submit its data. |
java.lang.String |
getName()
Getter for property name. |
void |
setAccept(java.lang.String accept)
Setter for property accept. |
void |
setAction(java.lang.String action)
Sets the action parameter of this form. |
void |
setEncoding(java.lang.String encoding)
Setter for property encoding. |
void |
setMethod(java.lang.String method)
Sets the http method that this form should use to submit its data. |
void |
setName(java.lang.String name)
Setter for property name. |
| Field Detail |
|---|
static final java.lang.String POST
static final java.lang.String GET
| Method Detail |
|---|
void setAction(java.lang.String action)
action - The action parameter.java.lang.String getAction()
java.lang.String getMethod()
void setMethod(java.lang.String method)
throws java.lang.IllegalArgumentException
method - The method parameter of this form. Generally either POST or GET
java.lang.IllegalArgumentException - If the method is not supported by this form.java.lang.String getEncoding()
void setEncoding(java.lang.String encoding)
encoding - New value of property encoding.java.lang.String getAccept()
void setAccept(java.lang.String accept)
accept - New value of property accept.java.lang.String getName()
void setName(java.lang.String name)
name - New value of property name.void addElement(FormElement element)
element - The {#link com.pushtotest.tool.protocolhandler.html.FormElement FormElement} to add to this Form.java.util.List getElements()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||