public interface LinkRenderer
| Modifier and Type | Method and Description |
|---|---|
String |
render(ContentEntityObject content,
ConversionContext conversionContext)
Renders link to specified content using the display name of the content as the link body.
|
String |
render(ContentEntityObject content,
String linkAlias,
ConversionContext conversionContext)
Renders link to specified content with specified alias.
|
String render(ContentEntityObject content, ConversionContext conversionContext) throws XhtmlException
content - the contentconversionContext - conversion contextXhtmlException - if there is an error rendering the linkIllegalArgumentException - if content is null or if the type of content is not a supported type. (see ContentTypeEnumString render(ContentEntityObject content, String linkAlias, ConversionContext conversionContext) throws XhtmlException
content - the contentlinkAlias - body or alias of resulting link. Note that this will be HTML encoded on output.conversionContext - conversion contextXhtmlException - if there is an error rendering the linkIllegalArgumentException - if content is null or if the type of content is not a supported type. (see ContentTypeEnumCopyright © 2003–2021 Atlassian. All rights reserved.