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
.
Constructor and Description |
---|
XhtmlMigrationLinkResolver(ContentDao contentDao,
SettingsManager settingsManager,
UserAccessor userAccessor) |
Modifier and Type | Method and Description |
---|---|
Link |
resolve(String linkText,
PageContext pageContext)
Resolves an xhtml link from the specified link text.
|
public XhtmlMigrationLinkResolver(ContentDao contentDao, SettingsManager settingsManager, UserAccessor userAccessor)
public Link resolve(String linkText, PageContext pageContext)
resolve
in interface LinkResolver
linkText
- link textpageContext
- page contextCopyright © 2003–2016 Atlassian. All rights reserved.