public class Link extends Value
String value. Text values are
significant relative to a particular component.| Constructor and Description |
|---|
Link(java.lang.String text)
Takes a required
String value. |
Link(java.lang.String text,
int index)
Takes the required
String value as
well as an index that specifies which subitem
should be used. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares
Text values. |
int |
getIndex()
Accesses the text
index value. |
java.lang.String |
getText()
Accesses the
Text value. |
java.lang.String |
toString()
Sets
toString to the value that this class represents. |
public Link(java.lang.String text)
String value.public Link(java.lang.String text,
int index)
String value as
well as an index that specifies which subitem
should be used. The index value is zero based, that is, the first
instance of String is 0, the second is 1, and so on.