com.liferay.portlet.wiki.translators
Class BaseTranslator
java.lang.Object
com.liferay.portlet.wiki.translators.BaseTranslator
- Direct Known Subclasses:
- ClassicToCreoleTranslator, MediaWikiToCreoleTranslator
public abstract class BaseTranslator
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nowikiRegexps
protected List<String> nowikiRegexps
regexps
protected Map<String,String> regexps
BaseTranslator
public BaseTranslator()
translate
public String translate(String content)
postProcess
protected String postProcess(String content)
preProcess
protected String preProcess(String content)
protectText
protected String protectText(String content,
String markupRegex)
runRegexp
protected String runRegexp(String content,
String regexp,
String replacement)
runRegexps
protected String runRegexps(String content)
unprotectNowikiText
protected String unprotectNowikiText(String content)