public class Form extends Object
| Constructor and Description |
|---|
Form() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addInputField(FormInputField inputField) |
FormInputField |
field(String fieldName)
Specifies an input field to assign a value to.
|
protected CrawlElement |
getCrawlElement() |
protected FormAction |
getFormAction() |
protected com.google.common.collect.ImmutableList<FormInputField> |
getInputFields() |
protected void |
setFormAction(FormAction formAction) |
String |
toString() |
public FormInputField field(String fieldName)
fieldName - the id or name attribute of the input fieldprotected com.google.common.collect.ImmutableList<FormInputField> getInputFields()
protected void setFormAction(FormAction formAction)
formAction - The form action.protected FormAction getFormAction()
protected CrawlElement getCrawlElement()
protected void addInputField(FormInputField inputField)
inputField - The inputfield.Copyright © 2007-2013. All Rights Reserved.