| java.lang.Object net.matuschek.html.FormFiller
FormFiller | public class FormFiller (Code) | | This class fills out form fields by predefined values
author: Daniel Matuschek version: $Id: FormFiller.java,v 1.9 2003/01/30 14:54:51 oliver_schmidt Exp $ |
FormFiller | public FormFiller()(Code) | | Basic initialization
|
FormFiller | public FormFiller(Vector formHandler)(Code) | | Initializes the form filler with a given list of form handlers
Parameters: formHandlers - a Vector containing FormHandler objects |
fillForm | public ExtendedURL fillForm(URL baseURL, Element form)(Code) | | Tries to fill the given form with values
Parameters: baseURL - the URL of the form itself. needed for relative adressing Parameters: form - a element node containing a DOM description of a form (e.g. from a DOM parser or HTML Tidy) a form filled with values or null, if no form handler was found |
getFormHandler | protected FormHandler getFormHandler(String url)(Code) | | Gets a form handler for a given URL
Parameters: u - an URL a FormHandler object, if there is a registered FormHandlerfor this URL, null otherwise |
getFormHandlers | public Vector getFormHandlers()(Code) | | Gets the list of form handlers
a Vector containing FormHandler objects |
setFormHandlers | public void setFormHandlers(Vector formHandlers)(Code) | | Sets the list of form handlers
Parameters: formHandlers - a Vector containing FormHandler objects |
|
|