|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.diff.StripEmptySpansDiffPostProcessor
public class StripEmptySpansDiffPostProcessor
CONFDEV-6604 A DiffPostProcessor that removes any empty span elements from the document, since these are invalid html and make IE8 fail to render the page correctly.
Constructor Summary | |
---|---|
StripEmptySpansDiffPostProcessor()
|
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 StripEmptySpansDiffPostProcessor()
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 | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |