| java.lang.Object vqwiki.lex.MediaWikiUtil
MediaWikiUtil | public class MediaWikiUtil (Code) | | Utility methods used with the Mediawiki lexers.
author: Ryan Holliday |
Method Summary | |
protected static String | buildHtmlLink(String raw) Given a String that represents a Wiki HTML link (a URL with an optional
link text that is enclosed in brackets), return a formatted HTML anchor tag.
Parameters: raw - The raw Wiki syntax that is to be converted into an HTML link. | protected static String | buildHtmlLinkRaw(String raw) Given a String that represents a raw HTML link (a URL link that is
not enclosed in brackets), return a formatted HTML anchor tag.
Parameters: raw - The raw HTML link that is to be converted into an HTML link. | protected static String | buildWikiLink(String raw, String virtualWiki) | public static String | escapeHtml(String html) | protected static boolean | exists(String topic, String virtualWiki) | protected static String | linkHtml(String link, String text, String punctuation) |
buildHtmlLink | protected static String buildHtmlLink(String raw)(Code) | | Given a String that represents a Wiki HTML link (a URL with an optional
link text that is enclosed in brackets), return a formatted HTML anchor tag.
Parameters: raw - The raw Wiki syntax that is to be converted into an HTML link. A formatted HTML link for the Wiki syntax. |
buildHtmlLinkRaw | protected static String buildHtmlLinkRaw(String raw)(Code) | | Given a String that represents a raw HTML link (a URL link that is
not enclosed in brackets), return a formatted HTML anchor tag.
Parameters: raw - The raw HTML link that is to be converted into an HTML link. A formatted HTML link. |
|
|