com.atlassian.confluence.xhtml.api
Class PlainTextLinkBody

java.lang.Object
  extended by com.atlassian.confluence.xhtml.api.PlainTextLinkBody
All Implemented Interfaces:
LinkBody<String>

public class PlainTextLinkBody
extends Object
implements LinkBody<String>

A PlainTextLinkBody is one that contains nothing but plain textual data. A typical use for such a link body would be when it is created to represent the title of some content.


Constructor Summary
PlainTextLinkBody(String body)
           
 
Method Summary
 boolean equals(Object other)
           
 String getBody()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlainTextLinkBody

public PlainTextLinkBody(String body)
Method Detail

getBody

public String getBody()
Specified by:
getBody in interface LinkBody<String>
Returns:
the link body;

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003–2015 Atlassian. All rights reserved.