org.encog.bot.browse.range
Class Input
- java.lang.Object
-
- org.encog.bot.browse.range.DocumentRange
-
- org.encog.bot.browse.range.FormElement
-
- org.encog.bot.browse.range.Input
-
public class Input extends FormElement
A form element that represents for input for text. These are of the form name=value.
-
-
Constructor Summary
Constructors Constructor and Description Input(WebPage source)Construct this Input element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetType()booleanisAutoSend()voidsetType(java.lang.String theType)Set the type of this input element.-
Methods inherited from class org.encog.bot.browse.range.FormElement
getName, getOwner, getValue, setName, setOwner, setValue, 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
-
-
-
-
Constructor Detail
-
Input
public Input(WebPage source)
Construct this Input element.- Parameters:
source- The source for this input element.
-
-
Method Detail
-
getType
public final java.lang.String getType()
- Returns:
- The type of this input.
-
isAutoSend
public final boolean isAutoSend()
- Specified by:
isAutoSendin classFormElement- 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.
-
setType
public final void setType(java.lang.String theType)
Set the type of this input element.- Parameters:
theType- The type of this input element.
-
-
DMelt 3.0 © DataMelt by jWork.ORG