public static class DiffProvider.NullDiffProvider extends java.lang.Object implements DiffProvider
DiffProvider.NullDiffProvider
LATEST_VERSION
Constructor and Description |
---|
NullDiffProvider() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProviderInfo()
Return a valid HTML string for information.
|
void |
initialize(WikiEngine engine,
java.util.Properties properties)
Initializes the page provider.
|
java.lang.String |
makeDiffHtml(WikiContext ctx,
java.lang.String oldWikiText,
java.lang.String newWikiText)
The return string is to be XHTML compliant ready to display html.
|
public java.lang.String makeDiffHtml(WikiContext ctx, java.lang.String oldWikiText, java.lang.String newWikiText)
makeDiffHtml
in interface DiffProvider
ctx
- The Wiki ContextoldWikiText
- the old textnewWikiText
- the new textpublic void initialize(WikiEngine engine, java.util.Properties properties) throws NoRequiredPropertyException, java.io.IOException
initialize
in interface WikiProvider
engine
- 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 setjava.io.IOException
- If there is an IO problempublic java.lang.String getProviderInfo()
getProviderInfo
in interface WikiProvider
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.