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