|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.xml.NewsOppsToLocalizedFormatConverter
public class NewsOppsToLocalizedFormatConverter
Converts from news_opps format to a localized news_opps format, which contains no namespace declarations. Localized XML may be accessed using XPath notation without the local-name() function, making it easier to use.
XMLConversionService
Constructor Summary | |
---|---|
NewsOppsToLocalizedFormatConverter()
|
Method Summary | |
---|---|
String |
convertXML(String xml,
ServletContext context)
Performs XML conversion from news_opps to news_opps localized. |
String |
getFromFormat()
Converts from the news_opps format. |
String |
getToFormat()
Converts to the news_opps-localized 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 NewsOppsToLocalizedFormatConverter()
Method Detail |
---|
public String getFromFormat()
getFromFormat
in interface XMLFormatConverter
public String getToFormat()
getToFormat
in interface XMLFormatConverter
public long lastModified(ServletContext context)
lastModified
in interface XMLFormatConverter
context
- Servlet context
public String convertXML(String xml, ServletContext context)
convertXML
in interface XMLFormatConverter
xml
- XML input in the 'news_opps' format.context
- Servlet context
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |