com.atlassian.confluence.diff
Interface DiffPostProcessor

All Known Implementing Classes:
ContextBlockMarkingDiffPostProcessor, MacroIconInsertingPostProcessor, StripEmptySpansDiffPostProcessor, StripToContextDiffPostProcessor, XSLDiffPostProcessor

public interface DiffPostProcessor

An interface implemented by classes that want to process the output of the Confluence Diff prior to it being returned as complete.


Method Summary
 org.jdom.Document process(org.jdom.Document document)
           Perform some process on the supplied JDOM Document.
 

Method Detail

process

org.jdom.Document process(org.jdom.Document document)

Perform some process on the supplied JDOM Document. The result of the process should be self contained with any exceptions being caught and a Document returned.

It is expected that an implementation will make changes to the supplied Document parameter although this is not necessary since the result of the call is the input to the next stage.

Parameters:
document - the Document from a previous step in the Diff generation process.
Returns:
the Document to be supplied to the next step in the Diff generation process. This must not be null.


Copyright © 2003-2012 Atlassian. All Rights Reserved.