DLESE Tools
v1.6.0

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

java.lang.Object
  extended by 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 Summary
static Element addChild(Element parent, String tag, String text)
           
static String getElementText(Element e, String tag)
           
static void main(String[] args)
           
static Element makeMapping(Element data)
           
static Element makeMapping(String ncsrecordid, String aggregatorhandle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

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

makeMapping

public static Element makeMapping(Element data)

makeMapping

public static Element makeMapping(String ncsrecordid,
                                  String aggregatorhandle)

getElementText

public static String getElementText(Element e,
                                    String tag)

addChild

public static Element addChild(Element parent,
                               String tag,
                               String text)

DLESE Tools
v1.6.0