| 
 | DLESE Tools v1.6.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.xml.NCS_ITEMToNSDL_DCFormatConverter
public class NCS_ITEMToNSDL_DCFormatConverter
Converts from NCS_ITEM to NSDL_DC format.
XMLConversionService| Field Summary | |
|---|---|
| protected  SimpleLuceneIndex | index | 
| protected  File | transform_file | 
| Constructor Summary | |
|---|---|
| NCS_ITEMToNSDL_DCFormatConverter() | |
| Method Summary | |
|---|---|
|  String | convertXML(String xml,
           XMLDocReader docReader,
           ServletContext context)Performs XML conversion from ADN to oai_dc format. | 
|  String | getFromFormat()Converts from the ncs_item format. | 
|  String | getToFormat()Converts to the nsdl_dc format. | 
| protected  void | getXFormFilesAndIndex(ServletContext context) | 
|  long | lastModified(ServletContext context)Gets the time this converter code was last modified. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected File transform_file
protected SimpleLuceneIndex index
| Constructor Detail | 
|---|
public NCS_ITEMToNSDL_DCFormatConverter()
| Method Detail | 
|---|
public String getFromFormat()
getFromFormat in interface XMLDocumentFormatConverterpublic String getToFormat()
getToFormat in interface XMLDocumentFormatConverterpublic long lastModified(ServletContext context)
lastModified in interface XMLDocumentFormatConvertercontext - The context in which this is running.
public String convertXML(String xml,
                         XMLDocReader docReader,
                         ServletContext context)
convertXML in interface XMLDocumentFormatConverterxml - XML input in the 'adn' format.docReader - A lucene doc reader for this record.context - The servlet context where this is running.
protected void getXFormFilesAndIndex(ServletContext context)
| 
 | DLESE Tools v1.6.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||