|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rational.test.ft.script.Subitem
com.rational.test.ft.script.Value
com.rational.test.ft.script.Href
public class Href
A simple container class for an HTML URL attribute associated with a
subitem value. Href values are sub-object URLs that are significant relative to a particular HTML tag.
| Field Summary | |
|---|---|
static java.lang.String |
pat
|
| Fields inherited from class com.rational.test.ft.script.Value |
|---|
debug, value |
| Constructor Summary | |
|---|---|
Href(java.lang.String url)
Constructor that takes the string containing the URL. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
Compares href values; returns true if they are equal. |
java.lang.String |
getHref()
Accesses the text value. |
java.net.URL |
getUrl()
Returns the java.net.URL, which enables improved scripting and debugging. |
protected boolean |
sameFile(java.net.URL url1, java.net.URL url2)
|
void |
setHref(java.lang.String url)
Serves as an accessor method for the text value. |
java.lang.String |
toString()
Sets toString to the value that this class represents. |
| Methods inherited from class com.rational.test.ft.script.Value |
|---|
getValue |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String pat
| Constructor Detail |
|---|
public Href(java.lang.String url)
| Method Detail |
|---|
public java.lang.String getHref()
public boolean equals(java.lang.Object other)
href values; returns true if they are equal.
equals in class Valueother - the right side of the comparisonprotected boolean sameFile(java.net.URL url1, java.net.URL url2)
public java.net.URL getUrl()
java.net.URL, which enables improved scripting and debugging.
public java.lang.String toString()
toString to the value that this class represents.
toString in class Valuepublic void setHref(java.lang.String url)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||