DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.ndr.util.integration
Class CollectionXSLReader

java.lang.Object
  extended by 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 Summary
static String baseDir
          NOT YET DOCUMENTED
static String data
          NOT YET DOCUMENTED
 Map records
          NOT YET DOCUMENTED
 
Constructor Summary
CollectionXSLReader()
          Constructor for the CollectionXSLReader object
CollectionXSLReader(String xslPath)
          Constructor for the CollectionXSLReader object taking a path to a tab-delimited* datafile.
 
Method Summary
static CollectionXSLRecord getCollectionRecord(String field, String value)
          Gets the collectionRecord attribute of the CollectionXSLReader class
static List getNcsCollectionRecords()
          Gets the ncsCollectionRecords attribute of the CollectionXSLReader class
static List getNonNcsCollectionRecords(String dataFile)
          Gets the nonNcsCollectionRecords attribute of the CollectionXSLReader class
static void main(String[] args)
          NOT YET DOCUMENTED
 String toString()
          NOT YET DOCUMENTED
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

records

public Map records
NOT YET DOCUMENTED


baseDir

public static String baseDir
NOT YET DOCUMENTED


data

public static String data
NOT YET DOCUMENTED

Constructor Detail

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 Detail

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

DLESE Tools
v1.6.0