com.iphrase.runtime.query.result
Class Link
java.lang.Object
|
+--com.iphrase.runtime.query.result.Link
- public class Link
- extends java.lang.Object
Represent a link (anchor + URL) feature value.
Method Summary |
boolean |
equals(java.lang.Object obj)
Override Object.equals(java.lang.Object) |
java.lang.Object |
getAnchor()
Get the anchor for this link value. |
java.lang.String |
getHref()
Get the HREF for this link value. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getHref
public java.lang.String getHref()
- Get the HREF for this link value.
- Returns:
String
href
getAnchor
public java.lang.Object getAnchor()
- Get the anchor for this link value.
- Returns:
Object
anchor, which is a feature value
equals
public boolean equals(java.lang.Object obj)
- Override
Object.equals(java.lang.Object)
- Overrides:
equals
in class java.lang.Object
- Parameters:
obj
- the reference object with which to compare.- Returns:
true
if this object is the same as the obj
argument; false
otherwise.