|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.bot.browse.range.DocumentRange
org.encog.bot.browse.range.Form
public class Form
A document range that represents a form, and all embedded tags.
| Nested Class Summary | |
|---|---|
static class |
Form.Method
The method for this form. |
| Constructor Summary | |
|---|---|
Form(WebPage source)
Construct a form on the specified web page. |
|
| Method Summary | |
|---|---|
Input |
findType(String type,
int index)
Find the form input by type. |
Address |
getAction()
|
Form.Method |
getMethod()
|
void |
setAction(Address theAction)
Set the action for the form. |
void |
setMethod(Form.Method theMethod)
Set the method to send the form. |
String |
toString()
|
| Methods inherited from class org.encog.bot.browse.range.DocumentRange |
|---|
addElement, getBegin, getClassAttribute, getElements, getEnd, getIdAttribute, getParent, getSource, getTextOnly, setBegin, setClassAttribute, setEnd, setIdAttribute, setParent, setSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Form(WebPage source)
source - The web page that contains this form.| Method Detail |
|---|
public final Input findType(String type,
int index)
type - The type of input we want.index - The index to begin searching at.
public final Address getAction()
public final Form.Method getMethod()
public final void setAction(Address theAction)
theAction - The URL to send the form to.public final void setMethod(Form.Method theMethod)
theMethod - How to send the form.public final String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||