com.atlassian.confluence.links
Class SimpleLink

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getHref()
           
 java.lang.String getText()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleLink

public SimpleLink(java.lang.String text,
                  java.lang.String href)
Method Detail

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.