|
DLESE Tools v1.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.dlese.dpc.xml.ADNToNSDLDCFormatConverter
Converts from ADN format to the NSDL DC format. Converts DLESE-specific IDs to URLs.
XMLConversionService| Constructor Summary | |
|---|---|
ADNToNSDLDCFormatConverter()
|
|
| Method Summary | |
|---|---|
String |
convertXML(String xml,
XMLDocReader docReader,
ServletContext context)
Performs XML conversion from ADN to nsdl_dc format. |
String |
getFromFormat()
Converts from the ADN format. |
String |
getToFormat()
Converts to the nsdl_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 ADNToNSDLDCFormatConverter()
| Method Detail |
public String getFromFormat()
getFromFormat in interface XMLDocumentFormatConverterpublic String getToFormat()
getToFormat in interface XMLDocumentFormatConverterpublic long lastModified(ServletContext context)
lastModified in interface XMLDocumentFormatConvertercontext - The context in which this is running.
public String convertXML(String xml,
XMLDocReader docReader,
ServletContext context)
convertXML in interface XMLDocumentFormatConverterxml - XML input in the 'adn' format.context - The context in which this is running.docReader - Lucene DocReader for the item.
|
DLESE Tools v1.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||