com.atlassian.confluence.xhtml.api
Class PlainTextLinkBody

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

public class PlainTextLinkBody
extends java.lang.Object
implements LinkBody<java.lang.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(java.lang.String body)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.lang.String getBody()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlainTextLinkBody

public PlainTextLinkBody(java.lang.String body)
Method Detail

getBody

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

equals

public boolean equals(java.lang.Object other)
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.