Class SchemaPathComparator

java.lang.Object
org.dlese.dpc.schemedit.config.SchemaPathComparator
All Implemented Interfaces:
Comparator

public class SchemaPathComparator extends Object implements Comparator
Class to sort lists of
invalid reference
PathMap
instances by their xpath property.
Author:
Jonathan Ostwald
  • Constructor Details

    • SchemaPathComparator

      public SchemaPathComparator()
  • Method Details

    • compare

      public int compare(Object o1, Object o2)
      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:
      compare in interface Comparator
      Parameters:
      o1 - PathMap1
      o2 - PathMap2
      Returns:
      NOT YET DOCUMENTED