com.atlassian.confluence.xhtml.api
Class PlainTextLinkBody
java.lang.Object
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.
PlainTextLinkBody
public PlainTextLinkBody(String body)
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-2013 Atlassian. All Rights Reserved.