com.atlassian.confluence.diff
Class DaisyHtmlDiffer

java.lang.Object
  extended by com.atlassian.confluence.diff.DaisyHtmlDiffer
All Implemented Interfaces:
Differ

public class DaisyHtmlDiffer
extends Object
implements Differ

Daisy HTML diff implementation.


Constructor Summary
DaisyHtmlDiffer(Transformer transformer, List<DiffPostProcessor> postProcessors, com.atlassian.cache.CacheManager cacheManager, LocaleManager localeManager)
           
 
Method Summary
 String diff(ContentEntityObject leftContent, ContentEntityObject rightContent)
          Computes a diff between the specified left and right input.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DaisyHtmlDiffer

public DaisyHtmlDiffer(Transformer transformer,
                       List<DiffPostProcessor> postProcessors,
                       com.atlassian.cache.CacheManager cacheManager,
                       LocaleManager localeManager)
Method Detail

diff

public String diff(ContentEntityObject leftContent,
                   ContentEntityObject rightContent)
Description copied from interface: Differ
Computes a diff between the specified left and right input.
The html output will contain span tags with class="diff-html-added|diff-html-removed|diff-html-changed" to indicate differences.

Specified by:
diff in interface Differ
Parameters:
leftContent - left input
rightContent - right input
Returns:
a diff


Copyright © 2003-2013 Atlassian. All Rights Reserved.