org.encog.bot.browse.range
public abstract class FormElement extends DocumentRange
| Constructor and Description |
|---|
FormElement(WebPage source)
Construct a form element from the specified web page.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
Form |
getOwner() |
String |
getValue() |
abstract boolean |
isAutoSend() |
void |
setName(String theName)
Set the name of this form element.
|
void |
setOwner(Form theOwner)
Set the owner of this form element.
|
void |
setValue(String theValue)
Set the value for this form element.
|
String |
toString() |
addElement, getBegin, getClassAttribute, getElements, getEnd, getIdAttribute, getParent, getSource, getTextOnly, setBegin, setClassAttribute, setEnd, setIdAttribute, setParent, setSourcepublic FormElement(WebPage source)
source - The page that holds this form element.public final String getName()
public final Form getOwner()
public final String getValue()
public abstract boolean isAutoSend()
public final void setName(String theName)
theName - The name of this form element.public final void setOwner(Form theOwner)
theOwner - The owner of this form element.public final void setValue(String theValue)
theValue - The value for this form element.Copyright © 2014. All Rights Reserved.