|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.links.ConfluenceLinkResolver
public class ConfluenceLinkResolver
How Confluence converts text into links
Constructor Summary | |
---|---|
ConfluenceLinkResolver()
|
Method Summary | |
---|---|
com.atlassian.renderer.links.Link |
createLink(com.atlassian.renderer.RenderContext context,
java.lang.String linkText)
|
java.util.List<com.atlassian.renderer.links.Link> |
extractLinks(com.atlassian.renderer.RenderContext context,
java.lang.String pageContent)
Parses the content passed in and returns a list of confluence link objects (e.g. |
java.util.List<java.lang.String> |
extractLinkTextList(java.lang.String pageContent)
parses through the content and returns a list of all the links found in string format e.g. |
java.lang.String |
removeLinkBrackets(java.lang.String linkText)
removes "[" and "]" from the link text if its exists |
void |
setAttachmentManager(AttachmentManager attachmentManager)
|
void |
setContentEntityManager(ContentEntityManager contentEntityManager)
|
void |
setMacroManager(com.atlassian.renderer.v2.macro.MacroManager macroManager)
|
void |
setPageManager(PageManager pageManager)
|
void |
setPermissionManager(PermissionManager permissionManager)
|
void |
setSettingsManager(SettingsManager settingsManager)
|
void |
setShortcutLinksManager(ShortcutLinksManager shortcutLinksManager)
|
void |
setSpaceManager(SpaceManager spaceManager)
|
void |
setUserAccessor(UserAccessor userAccessor)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfluenceLinkResolver()
Method Detail |
---|
public java.util.List<java.lang.String> extractLinkTextList(java.lang.String pageContent)
extractLinkTextList
in interface com.atlassian.renderer.links.LinkResolver
public java.util.List<com.atlassian.renderer.links.Link> extractLinks(com.atlassian.renderer.RenderContext context, java.lang.String pageContent)
extractLinks
in interface com.atlassian.renderer.links.LinkResolver
public java.lang.String removeLinkBrackets(java.lang.String linkText)
removeLinkBrackets
in interface com.atlassian.renderer.links.LinkResolver
public com.atlassian.renderer.links.Link createLink(com.atlassian.renderer.RenderContext context, java.lang.String linkText)
createLink
in interface com.atlassian.renderer.links.LinkResolver
public void setSettingsManager(SettingsManager settingsManager)
public void setShortcutLinksManager(ShortcutLinksManager shortcutLinksManager)
public void setPageManager(PageManager pageManager)
public void setSpaceManager(SpaceManager spaceManager)
public void setUserAccessor(UserAccessor userAccessor)
public void setAttachmentManager(AttachmentManager attachmentManager)
public void setContentEntityManager(ContentEntityManager contentEntityManager)
public void setPermissionManager(PermissionManager permissionManager)
public void setMacroManager(com.atlassian.renderer.v2.macro.MacroManager macroManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |