|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ir.webutils.Link ir.webutils.AnchoredLink
public class AnchoredLink
Link with included anchor text
Constructor Summary | |
---|---|
AnchoredLink(java.lang.String urlName)
Construct a link with specified URL string |
|
AnchoredLink(java.net.URL url)
Constructs a link with specified URL |
|
AnchoredLink(java.net.URL url,
java.lang.String anchorText)
Constructs a link with specified URL and anchor text |
Method Summary | |
---|---|
java.lang.String |
getAnchorText()
Return anchor text for link |
double |
getScore()
|
void |
setAnchorText(java.lang.String text)
Return anchor text for link |
java.lang.String |
toString()
|
Methods inherited from class ir.webutils.Link |
---|
cleanURL, compareTo, equals, getURL, hashCode, main, removeEndSlash, removeRef |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AnchoredLink(java.net.URL url, java.lang.String anchorText)
public AnchoredLink(java.net.URL url)
public AnchoredLink(java.lang.String urlName)
Method Detail |
---|
public java.lang.String getAnchorText()
public void setAnchorText(java.lang.String text)
public double getScore()
getScore
in class Link
public java.lang.String toString()
toString
in class Link
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |