Class DiffProvider.NullDiffProvider

java.lang.Object
org.apache.wiki.diff.DiffProvider.NullDiffProvider
All Implemented Interfaces:
org.apache.wiki.api.providers.WikiProvider, DiffProvider
Enclosing interface:
DiffProvider

public static class DiffProvider.NullDiffProvider extends Object implements DiffProvider
If there is no diff provider set, this provider will work instead.
  • Constructor Details

  • Method Details

    • makeDiffHtml

      public String makeDiffHtml(org.apache.wiki.api.core.Context ctx, String oldWikiText, String newWikiText)
      The return string is to be XHTML compliant ready to display html. No further processing of this text will be done by the wiki engine.
      Specified by:
      makeDiffHtml in interface DiffProvider
      Parameters:
      ctx - The Wiki Context
      oldWikiText - the old text
      newWikiText - the new text
      Returns:
      An XHTML diff.
    • initialize

      public void initialize(org.apache.wiki.api.core.Engine engine, Properties properties) throws org.apache.wiki.api.exceptions.NoRequiredPropertyException, IOException
      Specified by:
      initialize in interface org.apache.wiki.api.providers.WikiProvider
      Throws:
      org.apache.wiki.api.exceptions.NoRequiredPropertyException
      IOException
    • getProviderInfo

      Specified by:
      getProviderInfo in interface org.apache.wiki.api.providers.WikiProvider