Class EnrichmentXMLProcessor
- java.lang.Object
-
- org.intermine.webservice.server.widget.EnrichmentXMLProcessor
-
- All Implemented Interfaces:
WidgetResultProcessor
public final class EnrichmentXMLProcessor extends java.lang.Object implements WidgetResultProcessor
A widget result processor for enrichment results that produces output as XML.- Author:
- Alex Kalderimis
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
formatRow(java.util.List<java.lang.Object> row)
Format a list of objects into a string representation.static WidgetResultProcessor
instance()
-
-
-
Method Detail
-
instance
public static WidgetResultProcessor instance()
- Returns:
- a widget result processor of some type
-
formatRow
public java.util.List<java.lang.String> formatRow(java.util.List<java.lang.Object> row)
Description copied from interface:WidgetResultProcessor
Format a list of objects into a string representation.- Specified by:
formatRow
in interfaceWidgetResultProcessor
- Parameters:
row
- The widget's results.- Returns:
- A list of strings.
-
-