|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.xml.SimpleXMLFormatConverter
public class SimpleXMLFormatConverter
A simple demonstraion implementation of the XMLFormatConverter interface. Just
appends a comment to the end of the XML content. Can be used on any XML format for
demonstration and testing.
XMLConversionService| Constructor Summary | |
|---|---|
SimpleXMLFormatConverter()
|
|
| Method Summary | |
|---|---|
String |
convertXML(String xml,
ServletContext context)
Performs XML conversion from the input format to the output format by simply adding a coment to the end of the input XML record. |
String |
getFromFormat()
This converter can convert from any format. |
String |
getToFormat()
This converter can convert to any 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 SimpleXMLFormatConverter()
| Method Detail |
|---|
public String getFromFormat()
getFromFormat in interface XMLFormatConverterpublic String getToFormat()
getToFormat in interface XMLFormatConverterpublic long lastModified(ServletContext context)
lastModified in interface XMLFormatConvertercontext - The context in which this is running.
public String convertXML(String xml,
ServletContext context)
convertXML in interface XMLFormatConverterxml - XML input in the 'from' format.context - The context in which this is running.
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||