Class EntityPair
java.lang.Object
|
+--EntityPair
- public class EntityPair
- extends java.lang.Object
The class `EntityPair' manages the summarised output for a pair of
entities.
Method Summary |
void |
addCorrespondence(Frame frame1,
Frame frame2)
Adds a correspondence for this entity-pair. |
void |
addDifference(Slot slot,
Frame frame1,
java.lang.Object filler1,
Frame frame2,
java.lang.Object filler2)
Adds a difference for this entity-pair. |
void |
addNonCorrespondence(Frame frame,
int model)
Adds a non-correspondence for this entity-pair. |
void |
generateOutput(java.io.PrintWriter summaryFile)
Generates the HTML output for this entity-pair. |
void |
printHeaderLine(java.io.PrintWriter summaryFile)
Prints the HTML header-line for this entity-pair. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityPair
public EntityPair(Frame entity1,
Frame entity2)
- Constructs an empty entity-pair.
- Parameters:
name1
- The name of the first entity.name2
- The name of the second entity.
addCorrespondence
public void addCorrespondence(Frame frame1,
Frame frame2)
- Adds a correspondence for this entity-pair.
- Parameters:
frame1
- The frame from the first model.frame2
- The frame from the second model.
addNonCorrespondence
public void addNonCorrespondence(Frame frame,
int model)
- Adds a non-correspondence for this entity-pair.
- Parameters:
frame
- The frame from one model.model
- Which model the frame is from (1 or 2).
addDifference
public void addDifference(Slot slot,
Frame frame1,
java.lang.Object filler1,
Frame frame2,
java.lang.Object filler2)
- Adds a difference for this entity-pair.
- Parameters:
slot
- The slot for which there is a difference.frame1
- The frame from the first model.filler1
- The filler of slot for frame1.frame2
- The frame from the second model.filler2
- The filler of slot for frame2.
printHeaderLine
public void printHeaderLine(java.io.PrintWriter summaryFile)
- Prints the HTML header-line for this entity-pair.
- Parameters:
summaryFile
- The PrintWriter object for summary.html.
generateOutput
public void generateOutput(java.io.PrintWriter summaryFile)
- Generates the HTML output for this entity-pair.
- Parameters:
summaryFile
- The PrintWriter object for summary.html.