public final class XmlDiffListener extends DiffListenerAdapter
| Constructor and Description |
|---|
XmlDiffListener(java.lang.String outFile) |
| Modifier and Type | Method and Description |
|---|---|
protected java.io.PrintStream |
getOutputStream()
Returns the output stream so subclasses can write data.
|
void |
reportDiff(ApiDifference difference)
Does nothing
|
void |
start()
Writes an XML header and toplevel tag to the xml stream.
|
void |
stop()
Writes a footer and closes the
output stream if necessary.
|
protected void |
writeFooter()
Closes the toplevel tag that was opened in start.
|
public XmlDiffListener(java.lang.String outFile)
throws java.io.IOException
java.io.IOExceptionpublic void reportDiff(ApiDifference difference)
DiffListenerAdapterreportDiff in interface DiffListenerreportDiff in class DiffListenerAdapterdifference - the difference that has been detected.DiffListener.reportDiff(net.sf.clirr.core.ApiDifference)public void start()
start in interface DiffListenerstart in class DiffListenerAdapterDiffListener.start()protected void writeFooter()
DiffListener.stop()protected final java.io.PrintStream getOutputStream()
public final void stop()
stop in interface DiffListenerstop in class DiffListenerAdapterwriteFooter()Copyright © 2003-2012 Lars K??hne. All Rights Reserved.