Documentation of 'org.encog.bot.browse.range.FormElement' Java class
FormElement
org.encog.bot.browse.range

Class FormElement

  • Direct Known Subclasses:
    Input


    public abstract class FormElement
    extends DocumentRange
    A document range that represents one individual component to a form.
    • Constructor Detail

      • FormElement

        public FormElement(WebPage source)
        Construct a form element from the specified web page.
        Parameters:
        source - The page that holds this form element.
    • Method Detail

      • getName

        public final java.lang.String getName()
        Returns:
        The name of this form.
      • getOwner

        public final Form getOwner()
        Returns:
        The owner of this form element.
      • getValue

        public final java.lang.String getValue()
        Returns:
        The value of this form element.
      • isAutoSend

        public abstract boolean isAutoSend()
        Returns:
        True if this is autosend, which means that the type is NOT submit. This prevents a form that has multiple submit buttons from sending ALL of them in a single post.
      • setName

        public final void setName(java.lang.String theName)
        Set the name of this form element.
        Parameters:
        theName - The name of this form element.
      • setOwner

        public final void setOwner(Form theOwner)
        Set the owner of this form element.
        Parameters:
        theOwner - The owner of this form element.
      • setValue

        public final void setValue(java.lang.String theValue)
        Set the value for this form element.
        Parameters:
        theValue - The value for this form element.
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.