public class ADNToNSDLDCFormatConverter extends java.lang.Object implements XMLDocumentFormatConverter
XMLConversionService
Constructor and Description |
---|
ADNToNSDLDCFormatConverter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
convertXML(java.lang.String xml,
XMLDocReader docReader,
javax.servlet.ServletContext context)
Performs XML conversion from ADN to nsdl_dc format.
|
java.lang.String |
getFromFormat()
Converts from the ADN format.
|
java.lang.String |
getToFormat()
Converts to the nsdl_dc format.
|
long |
lastModified(javax.servlet.ServletContext context)
Gets the time this converter code was last modified.
|
public java.lang.String getFromFormat()
getFromFormat
in interface XMLDocumentFormatConverter
public java.lang.String getToFormat()
getToFormat
in interface XMLDocumentFormatConverter
public long lastModified(javax.servlet.ServletContext context)
lastModified
in interface XMLDocumentFormatConverter
context
- The context in which this is running.public java.lang.String convertXML(java.lang.String xml, XMLDocReader docReader, javax.servlet.ServletContext context)
convertXML
in interface XMLDocumentFormatConverter
xml
- XML input in the 'adn' format.context
- The context in which this is running.docReader
- Lucene DocReader for the item.