|
DLESE Tools v1.2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.xml.ADNToOAIDCFormatConverter
Converts from ADN format to the OAI DC format. Converts DLESE-specific IDs to URLs.
XMLConversionService
Constructor Summary | |
---|---|
ADNToOAIDCFormatConverter()
|
Method Summary | |
---|---|
String |
convertXML(String xml,
XMLDocReader docReader,
ServletContext context)
Performs XML conversion from ADN to oai_dc format. |
String |
getFromFormat()
Converts from the ADN format. |
String |
getToFormat()
Converts to the oai_dc format. |
long |
lastModified(ServletContext context)
Gets the time this converter code was last modified. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ADNToOAIDCFormatConverter()
Method Detail |
public String getFromFormat()
getFromFormat
in interface XMLDocumentFormatConverter
public String getToFormat()
getToFormat
in interface XMLDocumentFormatConverter
public long lastModified(ServletContext context)
lastModified
in interface XMLDocumentFormatConverter
context
- The context in which this is running.
public String convertXML(String xml, XMLDocReader docReader, 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.
|
DLESE Tools v1.2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |