Class MappingsData

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

public class MappingsData extends Object
Reads an XML file containing mappings between ncsrecordid and aggregator handle, and produces an XML file containing more detailed information about the NCS Collection record and the NDR Collection Objects associated with the aggregator.
Author:
Jonathan Ostwald
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception
    • makeMapping

      public static org.dom4j.Element makeMapping(org.dom4j.Element data)
    • makeMapping

      public static org.dom4j.Element makeMapping(String ncsrecordid, String aggregatorhandle)
    • getElementText

      public static String getElementText(org.dom4j.Element e, String tag)
    • addChild

      public static org.dom4j.Element addChild(org.dom4j.Element parent, String tag, String text)