|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ricebridge.data.Text
Holds a reference to a String variable.
Since String variables are immutable, and are often used to mean the thing represented by their value (for example, a file path), this class is used to indentify a mutable textual value explicitly and unambiguously.
| Constructor Summary | |
Text()
Create an empty text value. |
|
Text(String pText)
Create a specific text value. |
|
| Method Summary | |
String |
getText()
Get String value of text. |
void |
setText(String pText)
Set a specific text value. |
String |
toString()
The String value itself. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Text()
public Text(String pText)
If pText is null, then convert to empty String.
pText - String value of text| Method Detail |
public String getText()
String value of text.
public void setText(String pText)
If pText is null, then convert to empty String.
pText - String value of textpublic String toString()
String value itself.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||