|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pushtotest.tool.parser.html.HTML4Form
public class HTML4Form
| Field Summary |
|---|
| Fields inherited from interface com.pushtotest.tool.parser.html.HTMLForm |
|---|
GET, POST |
| Constructor Summary | |
|---|---|
HTML4Form()
|
|
| 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. |
java.lang.String |
toString()
Gets a string representation of the form. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HTML4Form()
| Method Detail |
|---|
public void setAction(java.lang.String action)
setAction in interface HTMLFormaction - The action parameter.public java.lang.String getAction()
getAction in interface HTMLFormpublic java.lang.String getMethod()
getMethod in interface HTMLForm
public void setMethod(java.lang.String method)
throws java.lang.IllegalArgumentException
setMethod in interface HTMLFormmethod - The method parameter of this form. Generally either POST or GET
java.lang.IllegalArgumentException - If the method is not supported by this form.public java.lang.String getEncoding()
getEncoding in interface HTMLFormpublic void setEncoding(java.lang.String encoding)
setEncoding in interface HTMLFormencoding - New value of property encoding.public java.lang.String getAccept()
getAccept in interface HTMLFormpublic void setAccept(java.lang.String accept)
setAccept in interface HTMLFormaccept - New value of property accept.public java.lang.String getName()
getName in interface HTMLFormpublic void setName(java.lang.String name)
setName in interface HTMLFormname - New value of property name.public void addElement(FormElement element)
addElement in interface HTMLFormelement - The {#link com.pushtotest.tool.protocolhandler.html.FormElement FormElement} to add to this Form.public java.util.List getElements()
getElements in interface HTMLFormpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||