|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FormElement
This is an interface that represents an element in an HTML form.
| Method Summary | |
|---|---|
java.lang.String |
getId()
Gets the id parameter of this form element. |
java.lang.String |
getLabel()
Gets the label value for this element. |
java.lang.String |
getName()
Gets the name parameter of this form element if there is one. |
HTMLForm |
getParentForm()
Returns the Form object that this element is a part of. |
java.lang.String |
getType()
The type of this form element for use in conditionals, etc. |
java.lang.String |
getValueAsString()
The value that this form element has. |
void |
isXhtml(boolean xhtml)
Is this an XHTML form? |
void |
setId(java.lang.String id)
Gets the id parameter of this form element. |
void |
setLabel(java.lang.String label)
Sets the label value for this element. |
void |
setName(java.lang.String name)
Sets the name of this form. |
void |
setParentForm(HTMLForm parent)
Sets the parent HTMLFrom of this element. |
void |
setValueAsString(java.lang.String value)
Sets the value of this form element as a string representation. |
| Method Detail |
|---|
HTMLForm getParentForm()
void setParentForm(HTMLForm parent)
parent - The Parent {#link com.pushtotest.tool.protocolhandler.html.HTMLForm HTMLForm}java.lang.String getName()
void isXhtml(boolean xhtml)
xhtml - Whether this is XHTML or not.void setName(java.lang.String name)
name - The name parameter.java.lang.String getId()
void setId(java.lang.String id)
id - The id parameter or null if none exists.java.lang.String getLabel()
void setLabel(java.lang.String label)
label - The label to set.java.lang.String getType()
java.lang.String getValueAsString()
void setValueAsString(java.lang.String value)
value - The value of the form element as a string.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||