|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--edu.UCL.xmiddle.lib.reconciliation.Resolutor
|
+--edu.UCL.xmiddle.lib.reconciliation.resolutors.Comparison
The Comparison Resolutor. It handles numeric comparisons only.
| Field Summary |
| Fields inherited from class edu.UCL.xmiddle.lib.reconciliation.Resolutor |
NAME, PRIORITY, types |
| Constructor Summary | |
Comparison()
Constructor. |
|
| Method Summary | |
java.lang.String |
reconcile(java.lang.String first,
java.lang.String second,
java.lang.String old,
java.lang.String type)
Reconcile two strings, given a reconciliation policy. |
| Methods inherited from class edu.UCL.xmiddle.lib.reconciliation.Resolutor |
addType, compareTo, compareTypes, getName, getPriority, getTypes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Comparison()
| Method Detail |
public java.lang.String reconcile(java.lang.String first,
java.lang.String second,
java.lang.String old,
java.lang.String type)
reconcile in class Resolutorfirst - The first string.second - The second string.type - The type of this policy.
null if error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||