public class StripToContextDiffPostProcessor extends Object implements DiffPostProcessor
ContextBlockMarkingDiffPostProcessor
failed and therefore the Document will not be touched allow the display of full content.Constructor and Description |
---|
StripToContextDiffPostProcessor(String diffTargetBlockClass,
String diffContextBlockClass) |
Modifier and Type | Method and Description |
---|---|
org.jdom.Document |
process(org.jdom.Document document)
Perform some process on the supplied JDOM Document.
|
public org.jdom.Document process(org.jdom.Document document)
DiffPostProcessor
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.
process
in interface DiffPostProcessor
document
- the Document from a previous step in the Diff generation process.Copyright © 2003–2015 Atlassian. All rights reserved.