public class XhtmlMigrationLinkResolver extends Object implements LinkResolver
You should note that the Link instances created all have PlainTextLinkBody
bodies at this stage.
It is the function of the XhtmlLinkRenderer to decide what the final type of the link body should be. At this
stage the raw wiki content of the link body is stored within a PlainTextLinkBody
.
Modifier and Type | Field and Description |
---|---|
static String |
DO_LINK_PERMISSION_CHECK |
Constructor and Description |
---|
XhtmlMigrationLinkResolver(ContentDao contentDao,
SettingsManager settingsManager,
UserAccessor userAccessor,
PermissionManager permissionManager) |
Modifier and Type | Method and Description |
---|---|
Link |
resolve(String linkText,
PageContext pageContext)
Resolves an xhtml link from the specified link text.
|
public static final String DO_LINK_PERMISSION_CHECK
public XhtmlMigrationLinkResolver(ContentDao contentDao, SettingsManager settingsManager, UserAccessor userAccessor, PermissionManager permissionManager)
public Link resolve(String linkText, PageContext pageContext)
resolve
in interface LinkResolver
linkText
- link textpageContext
- page contextCopyright © 2003–2021 Atlassian. All rights reserved.