com.atlassian.renderer.wysiwyg
Class WysiwygLinkHelper
java.lang.Object
com.atlassian.renderer.wysiwyg.WysiwygLinkHelper
public class WysiwygLinkHelper
- extends java.lang.Object
The WysiwygLinkHelper helps transform wiki links into html links and back again. In order to perform this, it puts
additional information into the html link tags, beyond what it requires just to display the link.
The following is the list of additional attributes:
linktype - always "raw". This is a magical literal to define that it is a link understood by this helper.
wikidestination - the destination part of the link in wiki markup
originalalias - the wiki markup of the "alias"
aliasspecified - whether the alias was explicitly included in the wiki markup
wikititle - the tooltip part of the link in wiki markup
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WysiwygLinkHelper
public WysiwygLinkHelper()
getLinkInfoAttributes
public static java.lang.String getLinkInfoAttributes(Link link)
createLinkWikiText
public static java.lang.String createLinkWikiText(org.w3c.dom.Node node,
java.lang.String newAlias)
Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.