public class BasicDiffOutput extends java.lang.Object implements DiffOutput
Modifier and Type | Field and Description |
---|---|
protected DiffEntryFormatter |
formatter |
protected java.io.Writer |
writer |
Constructor and Description |
---|
BasicDiffOutput(DiffEntryFormatter formatter,
java.io.Writer writer) |
Modifier and Type | Method and Description |
---|---|
protected void |
doOutput(TopicMapDiff.DiffEntry d) |
void |
endCompare() |
boolean |
noDifferences(Association a) |
boolean |
noDifferences(Topic t) |
void |
outputDiff(java.util.ArrayList<TopicMapDiff.DiffEntry> diff) |
boolean |
outputDiffEntry(TopicMapDiff.DiffEntry d) |
void |
startCompare() |
protected DiffEntryFormatter formatter
protected java.io.Writer writer
public BasicDiffOutput(DiffEntryFormatter formatter, java.io.Writer writer)
protected void doOutput(TopicMapDiff.DiffEntry d) throws java.io.IOException, TopicMapException
java.io.IOException
TopicMapException
public void startCompare()
startCompare
in interface DiffOutput
public void endCompare()
endCompare
in interface DiffOutput
public boolean outputDiffEntry(TopicMapDiff.DiffEntry d)
outputDiffEntry
in interface DiffOutput
public boolean noDifferences(Topic t)
noDifferences
in interface DiffOutput
public boolean noDifferences(Association a)
noDifferences
in interface DiffOutput
public void outputDiff(java.util.ArrayList<TopicMapDiff.DiffEntry> diff)
Copyright 2004-2015 Wandora Team