|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pushtotest.tool.parser.html.XHTMLForm
public class XHTMLForm
| Field Summary |
|---|
| Fields inherited from interface com.pushtotest.tool.parser.html.HTMLForm |
|---|
GET, POST |
| Constructor Summary | |
|---|---|
XHTMLForm()
|
|
| 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 XHTMLForm()
| Method Detail |
|---|
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.lang.String getAccept()
getAccept in interface HTMLFormpublic java.lang.String getAction()
getAction in interface HTMLFormpublic java.util.List getElements()
getElements in interface HTMLFormpublic java.lang.String getEncoding()
getEncoding in interface HTMLFormpublic java.lang.String getMethod()
getMethod in interface HTMLFormpublic java.lang.String getName()
getName in interface HTMLFormpublic void setAccept(java.lang.String accept)
setAccept in interface HTMLFormaccept - New value of property accept.public void setAction(java.lang.String action)
setAction in interface HTMLFormaction - The action parameter.public void setEncoding(java.lang.String encoding)
setEncoding in interface HTMLFormencoding - New value of property encoding.
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 void setName(java.lang.String name)
setName in interface HTMLFormname - New value of property name.public 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 | |||||||||