com.atlassian.confluence.xhtml.api
Class PlainTextLinkBody
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PlainTextLinkBody
public PlainTextLinkBody(java.lang.String body)
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.