|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.diff.ContextBlockMarkingDiffPostProcessor
public class ContextBlockMarkingDiffPostProcessor
A DiffPostProcessor that will mark blocks of content around the diff to aid the identification of context.
This is a fairly dumb attempt at providing context but is better than having no option but to present full content.
Constructor Summary | |
---|---|
ContextBlockMarkingDiffPostProcessor(String diffTargetBlockClass,
String diffContextBlockClass)
|
Method Summary | |
---|---|
org.jdom.Document |
process(org.jdom.Document document)
Perform some process on the supplied JDOM Document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextBlockMarkingDiffPostProcessor(String diffTargetBlockClass, String diffContextBlockClass)
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |