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.IOException
public void reportDiff(ApiDifference difference)
DiffListenerAdapter
reportDiff
in interface DiffListener
reportDiff
in class DiffListenerAdapter
difference
- the difference that has been detected.DiffListener.reportDiff(net.sf.clirr.core.ApiDifference)
public void start()
start
in interface DiffListener
start
in class DiffListenerAdapter
DiffListener.start()
protected void writeFooter()
DiffListener.stop()
protected final java.io.PrintStream getOutputStream()
public final void stop()
stop
in interface DiffListener
stop
in class DiffListenerAdapter
writeFooter()
Copyright © 2003-2012 Lars K??hne. All Rights Reserved.