|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jolene.dom.HTMLElement
net.sf.jolene.dom.Text
public final class Text
This represents arbitrary text to be rendered in an html document. These objects are created when the Parser detects a LABEL tag containing other HTML elements.
Constructor Summary | |
---|---|
Text()
|
Method Summary | |
---|---|
Text |
clone()
Returns a clone of the text object. |
void |
setValue(java.lang.String value)
Sets the text on the text object. |
java.lang.String |
toString()
Renders the text. |
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, setName, setReadonly, setRenderable, setStyle, setStyles, setStyles, swapWith |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Text()
Method Detail |
---|
public Text clone()
clone
in class HTMLElement
DocumentFactory
public void setValue(java.lang.String value)
setValue
in class HTMLElement
value
- text to set.public java.lang.String toString()
toString
in class HTMLElement
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |