Package org.dlese.dpc.schemedit.config
Class SchemaPathComparator
java.lang.Object
org.dlese.dpc.schemedit.config.SchemaPathComparator
- All Implemented Interfaces:
Comparator
Class to sort lists of
instances by their xpath property.
invalid reference
PathMap
- Author:
- Jonathan Ostwald
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
SchemaPathComparator
public SchemaPathComparator()
-
-
Method Details
-
compare
sorts by order in which paths are processed by MetadataFramework.populateFields (and therefore are added to the docMap) so one value doesn't get stomped by another.- Specified by:
comparein interfaceComparator- Parameters:
o1- PathMap1o2- PathMap2- Returns:
- NOT YET DOCUMENTED
-