Class DiffProvider.NullDiffProvider

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getProviderInfo()
      Return a valid HTML string for information.
      void initialize​(Engine engine, java.util.Properties properties)
      Initializes the page provider.
      java.lang.String makeDiffHtml​(Context ctx, java.lang.String oldWikiText, java.lang.String newWikiText)
      The return string is to be XHTML compliant ready to display html.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • makeDiffHtml

        public java.lang.String makeDiffHtml​(Context ctx,
                                             java.lang.String oldWikiText,
                                             java.lang.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​(Engine engine,
                               java.util.Properties properties)
                        throws NoRequiredPropertyException,
                               java.io.IOException
        Initializes the page provider.
        Specified by:
        initialize in interface WikiProvider
        Parameters:
        engine - Engine to own this provider
        properties - A set of properties used to initialize this provider
        Throws:
        NoRequiredPropertyException - If the provider needs a property which is not found in the property set
        java.io.IOException - If there is an IO problem
      • getProviderInfo

        public java.lang.String getProviderInfo()
        Return a valid HTML string for information. May be anything.
        Specified by:
        getProviderInfo in interface WikiProvider
        Returns:
        A string describing the provider.