Package org.dlese.dpc.xml
Class NSDL_DCToNCS_COLLECTFormatConverter
java.lang.Object
org.dlese.dpc.xml.NSDL_DCToNCS_ITEMFormatConverter
org.dlese.dpc.xml.NSDL_DCToNCS_COLLECTFormatConverter
- All Implemented Interfaces:
XMLDocumentFormatConverter
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:
-
Field Summary
Fields inherited from class org.dlese.dpc.xml.NSDL_DCToNCS_ITEMFormatConverter
format_transform_file, index, version_transform_file -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConverts from the ADN format.protected voidgetXFormFilesAndIndex(ServletContext context) Gets the xFormFilesAndIndex attribute of the NSDL_DCToNCS_ITEMFormatConverter objectMethods inherited from class org.dlese.dpc.xml.NSDL_DCToNCS_ITEMFormatConverter
convertXML, getFromFormat, lastModified
-
Constructor Details
-
NSDL_DCToNCS_COLLECTFormatConverter
public NSDL_DCToNCS_COLLECTFormatConverter()
-
-
Method Details
-
getToFormat
Converts from the ADN format.- Specified by:
getToFormatin interfaceXMLDocumentFormatConverter- Overrides:
getToFormatin classNSDL_DCToNCS_ITEMFormatConverter- Returns:
- The String "adn".
-
getXFormFilesAndIndex
Description copied from class:NSDL_DCToNCS_ITEMFormatConverterGets the xFormFilesAndIndex attribute of the NSDL_DCToNCS_ITEMFormatConverter object- Overrides:
getXFormFilesAndIndexin classNSDL_DCToNCS_ITEMFormatConverter- Parameters:
context- NOT YET DOCUMENTED
-