DLESE Tools
v1.6.0

org.dlese.dpc.xml
Class NSDL_DCToNCS_COLLECTFormatConverter

java.lang.Object
  extended by org.dlese.dpc.xml.NSDL_DCToNCS_ITEMFormatConverter
      extended by org.dlese.dpc.xml.NSDL_DCToNCS_COLLECTFormatConverter
All Implemented Interfaces:
XMLDocumentFormatConverter

public class NSDL_DCToNCS_COLLECTFormatConverter
extends NSDL_DCToNCS_ITEMFormatConverter

Converts from NSDL_DC format to the NCS_COLLECT format. NOTE: assumes nsdl_dc is version 1.02 and first transforms to nsdl_dc 1.03 before converting to ncs_collect.

Author:
Ostwald
See Also:
XMLConversionService

Field Summary
 
Fields inherited from class org.dlese.dpc.xml.NSDL_DCToNCS_ITEMFormatConverter
format_transform_file, index, version_transform_file
 
Constructor Summary
NSDL_DCToNCS_COLLECTFormatConverter()
           
 
Method Summary
 String getToFormat()
          Converts from the ADN format.
protected  void getXFormFilesAndIndex(ServletContext context)
          Gets the xFormFilesAndIndex attribute of the NSDL_DCToNCS_ITEMFormatConverter object
 
Methods inherited from class org.dlese.dpc.xml.NSDL_DCToNCS_ITEMFormatConverter
convertXML, getFromFormat, lastModified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NSDL_DCToNCS_COLLECTFormatConverter

public NSDL_DCToNCS_COLLECTFormatConverter()
Method Detail

getToFormat

public String getToFormat()
Converts from the ADN format.

Specified by:
getToFormat in interface XMLDocumentFormatConverter
Overrides:
getToFormat in class NSDL_DCToNCS_ITEMFormatConverter
Returns:
The String "adn".

getXFormFilesAndIndex

protected void getXFormFilesAndIndex(ServletContext context)
Description copied from class: NSDL_DCToNCS_ITEMFormatConverter
Gets the xFormFilesAndIndex attribute of the NSDL_DCToNCS_ITEMFormatConverter object

Overrides:
getXFormFilesAndIndex in class NSDL_DCToNCS_ITEMFormatConverter
Parameters:
context - NOT YET DOCUMENTED

DLESE Tools
v1.6.0