com.atlassian.renderer.wysiwyg
Class WysiwygLinkHelper
java.lang.Object
com.atlassian.renderer.wysiwyg.WysiwygLinkHelper
public class WysiwygLinkHelper
- extends 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 |
ERROR_CLASS_ATTR_VALUE
public static final String ERROR_CLASS_ATTR_VALUE
- See Also:
- Constant Field Values
WysiwygLinkHelper
public WysiwygLinkHelper()
getLinkInfoAttributes
public static String getLinkInfoAttributes(Link link)
createLinkWikiText
public static String createLinkWikiText(Node node,
String newAlias)
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.