Class 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 interface WidgetResultProcessor
        Parameters:
        row - The widget's results.
        Returns:
        A list of strings.