org.codehaus.mojo.clirr
Class TypeRevealingXmlDiffListener
java.lang.Object
org.codehaus.mojo.clirr.TypeRevealingXmlDiffListener
- All Implemented Interfaces:
- net.sf.clirr.core.DiffListener
public class TypeRevealingXmlDiffListener
- extends Object
- implements net.sf.clirr.core.DiffListener
A copy of Clirr's XmlDiffListener (which is not subclassable nor extendable in some way)
that includes the type of the difference in the XML. This feature is useful for people working
with the ignored differences so that they can easily come up with the rules without consulting
the documentation for the correct difference type number.
- Since:
- 2.6
- Author:
- Lukas Krejci
|
Method Summary |
void |
reportDiff(net.sf.clirr.core.ApiDifference difference)
|
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeRevealingXmlDiffListener
public TypeRevealingXmlDiffListener(String outFile)
throws FileNotFoundException
- Throws:
FileNotFoundException
reportDiff
public void reportDiff(net.sf.clirr.core.ApiDifference difference)
- Specified by:
reportDiff in interface net.sf.clirr.core.DiffListener
start
public void start()
- Specified by:
start in interface net.sf.clirr.core.DiffListener
stop
public void stop()
- Specified by:
stop in interface net.sf.clirr.core.DiffListener
Copyright © 2006-2013 Codehaus. All Rights Reserved.