Package com.atlassian.confluence.links
Class AbstractAttachmentLink
- java.lang.Object
 - 
- com.atlassian.renderer.links.Link
 - 
- com.atlassian.renderer.links.BaseLink
 - 
- com.atlassian.confluence.links.AbstractAttachmentLink
 
 
 
 
- 
- Direct Known Subclasses:
 AttachmentLink,DraftAttachmentLink
public abstract class AbstractAttachmentLink extends com.atlassian.renderer.links.BaseLinkClass represents a link to an attachment. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected Attachmentattachment 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractAttachmentLink(com.atlassian.renderer.links.GenericLinkParser genericLinkParser) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable AttachmentgetAttachment()StringgetLinkBody()- 
Methods inherited from class com.atlassian.renderer.links.BaseLink
equals, getOriginalParser, hashCode, setI18nTitle, setTitle 
 - 
 
 - 
 
- 
- 
Field Detail
- 
attachment
protected Attachment attachment
 
 - 
 
- 
Method Detail
- 
getAttachment
public @Nullable Attachment getAttachment()
- Returns:
 - attachment the link points to
 
 
- 
getLinkBody
public String getLinkBody()
- Overrides:
 getLinkBodyin classcom.atlassian.renderer.links.Link
 
 - 
 
 -