SimpleTag
└─SimpleWidget
└─SimpleTextTag
public class SimpleTextTag
extends SimpleWidget
Constructor Summary | |
---|---|
SimpleTextTag(hash attributes) Starts with a named tag with attributes only. |
Method Summary | |
---|---|
boolean | Tag contains no content. |
boolean | setValue(string value) Sets the current form element value. |
Methods inherited from SimpleTest\SimpleWidget | |
---|---|
getDefault, getName, getValue, resetValue, setValue |
Methods inherited from SimpleTest\SimpleTag | |
---|---|
addContent, addTag, expectEndTag, getAttribute, getChildElements, getContent, getTagName, getText, isId |
public SimpleTextTag(hash attributes)
Starts with a named tag with attributes only.
public boolean expectEndTag()
Tag contains no content.
public boolean setValue(string value)
Sets the current form element value. Cannot change the value of a hidden field.
Text, password and hidden field.