public interface XMLFormatConverter
XMLConversionService
to
convert XML from one format to another.XMLConversionService
Modifier and Type | Method and Description |
---|---|
String |
convertXML(String xml,
ServletContext context)
Performs XML conversion from the input format to the output format.
|
String |
getFromFormat()
The metadataPrefix of the format from which this XMLFormatConverter converts, for
example "dlese_ims," "adn" or "oai_dc".
|
String |
getToFormat()
The metadataPrefix of the format to which this XMLFormatConverter converts, for
example "dlese_ims," "adn" or "oai_dc".
|
long |
lastModified(ServletContext context)
Gets the time this converter code was last modified.
|
String getFromFormat()
String getToFormat()
String convertXML(String xml, ServletContext context)
xml
- XML input in the 'from' format.context
- The context in which this is running.long lastModified(ServletContext context)
context
- The context in which this is running.