net.sf.jolene.dom
Class Input

java.lang.Object
  extended by net.sf.jolene.dom.HTMLElement
      extended by net.sf.jolene.dom.Input
All Implemented Interfaces:
java.lang.Cloneable, IAttributes, ICollection, IStyles

public final class Input
extends HTMLElement

An input field in a html document. Usually used for entry fields, hidden fields or buttons. Use CheckBox and Radio for checkboxes and radio buttons.

Author:
Dan Howard

Constructor Summary
Input()
          Default constructor.
Input(java.lang.String name)
          Construct an input object with the specified name.
 
Method Summary
 Input clone()
          Returns a clone of the input object.
 void setName(java.lang.String name)
          Sets the name of the input object.
 void setValue(java.lang.String value)
          Sets the value of the input object.
 
Methods inherited from class net.sf.jolene.dom.HTMLElement
clear, getAfterText, getAttribute, getBeforeText, getContent, getName, getStyle, getTag, getValue, hasAttribute, hasStyle, isChecked, isDisabled, isReadonly, isRenderable, keySet, removeAttribute, removeStyle, resetStyles, resetStyles, setAfterText, setAttribute, setBeforeText, setChecked, setContent, setDisabled, setReadonly, setRenderable, setStyle, setStyles, setStyles, swapWith, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Input

public Input()
Default constructor.


Input

public Input(java.lang.String name)
Construct an input object with the specified name.

Parameters:
name - name of the input.
Method Detail

clone

public Input clone()
Returns a clone of the input object.

Overrides:
clone in class HTMLElement
Returns:
Input object.
See Also:
DocumentFactory

setName

public void setName(java.lang.String name)
Sets the name of the input object.

Overrides:
setName in class HTMLElement
Parameters:
name - name of the input.

setValue

public void setValue(java.lang.String value)
Sets the value of the input object.

Overrides:
setValue in class HTMLElement
Parameters:
value - value of the input.