public static class DiffProvider.NullDiffProvider extends Object implements DiffProvider
DiffProvider.NullDiffProviderLATEST_VERSION| Constructor and Description |
|---|
NullDiffProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
getProviderInfo()
Return a valid HTML string for information.
|
void |
initialize(WikiEngine engine,
Properties properties)
Initializes the page provider.
|
String |
makeDiffHtml(WikiContext ctx,
String oldWikiText,
String newWikiText)
The return string is to be XHTML compliant ready to display html.
|
public NullDiffProvider()
public String makeDiffHtml(WikiContext ctx, String oldWikiText, String newWikiText)
makeDiffHtml in interface DiffProviderctx - The Wiki ContextoldWikiText - the old textnewWikiText - the new textpublic void initialize(WikiEngine engine, Properties properties) throws NoRequiredPropertyException, IOException
initialize in interface WikiProviderengine - WikiEngine to own this providerproperties - A set of properties used to initialize this providerNoRequiredPropertyException - If the provider needs a property which is not found in the property setIOException - If there is an IO problempublic String getProviderInfo()
getProviderInfo in interface WikiProviderCopyright © 2001-2019 The Apache Software Foundation. All rights reserved.