com.pushtotest.tool.parser.html
Class HiddenElement

java.lang.Object
  extended by com.pushtotest.tool.parser.html.FormElementWrapper
      extended by com.pushtotest.tool.parser.html.HiddenElement
All Implemented Interfaces:
FormElement

public class HiddenElement
extends FormElementWrapper

A Form element that represents a hidden form element.


Constructor Summary
HiddenElement()
           
 
Method Summary
 java.lang.String getType()
          The type of this element.
 java.lang.String getValueAsString()
          The value parameter as a string.
 void setValueAsString(java.lang.String value)
          Sets the value of this element.
 java.lang.String toString()
          A string representation of this text element.
 
Methods inherited from class com.pushtotest.tool.parser.html.FormElementWrapper
getId, getLabel, getName, getParentForm, isXhtml, setId, setLabel, setName, setParentForm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HiddenElement

public HiddenElement()
Method Detail

getType

public java.lang.String getType()
The type of this element.

Specified by:
getType in interface FormElement
Specified by:
getType in class FormElementWrapper
Returns:
The type of this element.

getValueAsString

public java.lang.String getValueAsString()
The value parameter as a string.

Specified by:
getValueAsString in interface FormElement
Specified by:
getValueAsString in class FormElementWrapper
Returns:
The value of this element as a string.

setValueAsString

public void setValueAsString(java.lang.String value)
Sets the value of this element.

Specified by:
setValueAsString in interface FormElement
Specified by:
setValueAsString in class FormElementWrapper
Parameters:
value - The value of the form element as a string.

toString

public java.lang.String toString()
A string representation of this text element.

Overrides:
toString in class java.lang.Object
Returns:
The string that is like this element.