public class FormHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
RANDOM_STRING_LENGTH |
| Constructor and Description |
|---|
FormHandler(EmbeddedBrowser browser,
CrawlRules config) |
| Modifier and Type | Method and Description |
|---|---|
List<CandidateElement> |
getCandidateElementsForInputs(Element sourceElement,
EventableCondition eventableCondition) |
List<FormInput> |
getFormInputs() |
void |
handleFormElements()
Handle form elements.
|
void |
handleFormElements(List<FormInput> formInputs)
Fills in form/input elements.
|
public static final int RANDOM_STRING_LENGTH
@Inject public FormHandler(EmbeddedBrowser browser, CrawlRules config)
public void handleFormElements()
throws Exception
Exception - the exception.public void handleFormElements(List<FormInput> formInputs)
formInputs - form input list.public List<CandidateElement> getCandidateElementsForInputs(Element sourceElement, EventableCondition eventableCondition)
sourceElement - the form elementeventableCondition - the belonging eventable condition for sourceElementCopyright © 2007-2013. All Rights Reserved.