public class ADNToOAIDCFormatConverter extends java.lang.Object implements XMLDocumentFormatConverter
XMLConversionService
Constructor and Description |
---|
ADNToOAIDCFormatConverter() |
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 oai_dc format.
|
java.lang.String |
getFromFormat()
Converts from the ADN format.
|
java.lang.String |
getToFormat()
Converts to the oai_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.docReader
- A lucene doc reader for this record.context
- The servlet context where this is running.