zipdiff.output
Class XmlBuilder

java.lang.Object
  extended byzipdiff.output.AbstractBuilder
      extended byzipdiff.output.XmlBuilder
All Implemented Interfaces:
Builder

public class XmlBuilder
extends AbstractBuilder

Generates xml output for a Differences instance

Author:
Sean C. Sullivan

Constructor Summary
XmlBuilder()
           
 
Method Summary
 void build(java.io.OutputStream out, Differences d)
           
protected  void writeAdded(java.io.PrintWriter pw, java.util.Set added)
           
protected  void writeChanged(java.io.PrintWriter pw, java.util.Set changed)
           
protected  void writeRemoved(java.io.PrintWriter pw, java.util.Set removed)
           
 
Methods inherited from class zipdiff.output.AbstractBuilder
build
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlBuilder

public XmlBuilder()
Method Detail

build

public void build(java.io.OutputStream out,
                  Differences d)
Specified by:
build in interface Builder
Specified by:
build in class AbstractBuilder

writeAdded

protected void writeAdded(java.io.PrintWriter pw,
                          java.util.Set added)

writeRemoved

protected void writeRemoved(java.io.PrintWriter pw,
                            java.util.Set removed)

writeChanged

protected void writeChanged(java.io.PrintWriter pw,
                            java.util.Set changed)


Copyright © 2004 zipdiff.sourceforge.net. All Rights Reserved.