com.atlassian.confluence.links
Class SimpleLink
java.lang.Object
com.atlassian.confluence.links.SimpleLink
public class SimpleLink
- extends java.lang.Object
Represents a simple, immutable link with only text and an href.
- Since:
- v4.2
Constructor Summary |
SimpleLink(java.lang.String text,
java.lang.String href)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SimpleLink
public SimpleLink(java.lang.String text,
java.lang.String href)
getHref
public java.lang.String getHref()
getText
public java.lang.String getText()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2003-2014 Atlassian. All Rights Reserved.