public class BaseWikiPageRenameContentProcessor extends java.lang.Object implements WikiPageRenameContentProcessor
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.String> |
regexps |
Constructor and Description |
---|
BaseWikiPageRenameContentProcessor() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
processContent(long nodeId,
java.lang.String originalTitle,
java.lang.String newTitle,
java.lang.String originalContent) |
protected java.lang.String |
runRegexp(java.lang.String content,
java.lang.String regexp,
java.lang.String replacement) |
protected java.lang.String |
runRegexps(java.lang.String content,
java.lang.String title,
java.lang.String newTitle) |
public java.lang.String processContent(long nodeId, java.lang.String originalTitle, java.lang.String newTitle, java.lang.String originalContent)
processContent
in interface WikiPageRenameContentProcessor
protected java.lang.String runRegexp(java.lang.String content, java.lang.String regexp, java.lang.String replacement)
protected java.lang.String runRegexps(java.lang.String content, java.lang.String title, java.lang.String newTitle)