|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.xml.LIBRARY_DCToNSDL_DCFormatConverter
public class LIBRARY_DCToNSDL_DCFormatConverter
EXPERIMENTAL (and low fidelity) converter for library_dc to nsdl_dc.
NOTE: this converter is a quick and dirty approach for going from library_dc to nsdl_dc. It first converts library_dc to oai_dc, and then manipuates the root element to turn the oai_dc into nsdl_dc. The result is a valid nsdl_dc record, but this process is likely not optimal!
Field Summary | |
---|---|
protected File |
library_dc_to_oai_dc_transform_file
|
Constructor Summary | |
---|---|
LIBRARY_DCToNSDL_DCFormatConverter()
|
Method Summary | |
---|---|
String |
convertXML(String xml)
NOT YET DOCUMENTED |
String |
convertXML(String xml,
ServletContext context)
NOT YET DOCUMENTED |
String |
getFromFormat()
Converts from the libarary_dc format. |
String |
getToFormat()
Converts to the nsdl_dc format |
protected void |
getXFormFilesAndIndex(ServletContext context)
|
long |
lastModified(ServletContext context)
NOT YET DOCUMENTED |
static void |
main(String[] args)
The main program for the LIBRARY_DCToNSDL_DCFormatConverter class |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected File library_dc_to_oai_dc_transform_file
Constructor Detail |
---|
public LIBRARY_DCToNSDL_DCFormatConverter()
Method Detail |
---|
public String getFromFormat()
getFromFormat
in interface XMLFormatConverter
public String getToFormat()
getToFormat
in interface XMLFormatConverter
public static void main(String[] args) throws Exception
args
- The command line arguments
Exception
- NOT YET DOCUMENTEDpublic String convertXML(String xml)
xml
- NOT YET DOCUMENTED
public String convertXML(String xml, ServletContext context)
convertXML
in interface XMLFormatConverter
xml
- NOT YET DOCUMENTEDcontext
- NOT YET DOCUMENTED
protected void getXFormFilesAndIndex(ServletContext context)
public long lastModified(ServletContext context)
lastModified
in interface XMLFormatConverter
context
- NOT YET DOCUMENTED
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |