Class CollectionXSLReader

java.lang.Object
org.dlese.dpc.schemedit.ndr.util.integration.CollectionXSLReader

public class CollectionXSLReader extends Object
Reads spreadsheet data (xml file created from spreadsheet) with data supplied by NSDL but augmented from NCS Collect records, with the purpose of determining overlaps and gaps between the collection management info in both models.
Author:
Jonathan Ostwald
  • Field Details

    • records

      public Map records
      NOT YET DOCUMENTED
    • baseDir

      public static String baseDir
      NOT YET DOCUMENTED
    • data

      public static String data
      NOT YET DOCUMENTED
  • Constructor Details

    • CollectionXSLReader

      public CollectionXSLReader() throws Exception
      Constructor for the CollectionXSLReader object
      Throws:
      Exception - NOT YET DOCUMENTED
    • CollectionXSLReader

      public CollectionXSLReader(String xslPath) throws Exception
      Constructor for the CollectionXSLReader object taking a path to a tab-delimited* datafile.

      records is a map of CollectionXSLRecords keyed by aggregator handle

      Parameters:
      xslPath - NOT YET DOCUMENTED
      Throws:
      Exception - NOT YET DOCUMENTED
  • Method Details

    • getCollectionRecord

      public static CollectionXSLRecord getCollectionRecord(String field, String value) throws Exception
      Gets the collectionRecord attribute of the CollectionXSLReader class
      Parameters:
      field - NOT YET DOCUMENTED
      value - NOT YET DOCUMENTED
      Returns:
      The collectionRecord value
      Throws:
      Exception - NOT YET DOCUMENTED
    • getNcsCollectionRecords

      public static List getNcsCollectionRecords() throws Exception
      Gets the ncsCollectionRecords attribute of the CollectionXSLReader class
      Returns:
      The ncsCollectionRecords value
      Throws:
      Exception - NOT YET DOCUMENTED
    • getNonNcsCollectionRecords

      public static List getNonNcsCollectionRecords(String dataFile) throws Exception
      Gets the nonNcsCollectionRecords attribute of the CollectionXSLReader class
      Parameters:
      dataFile - NOT YET DOCUMENTED
      Returns:
      The nonNcsCollectionRecords value
      Throws:
      Exception - NOT YET DOCUMENTED
    • toString

      public String toString()
      NOT YET DOCUMENTED
      Overrides:
      toString in class Object
      Returns:
      NOT YET DOCUMENTED
    • main

      public static void main(String[] args) throws Exception
      NOT YET DOCUMENTED
      Parameters:
      args - NOT YET DOCUMENTED
      Throws:
      Exception - NOT YET DOCUMENTED