de.cau.cs.kieler.kiml.grana.visualizers
Class BasicHtmlVisualizer

java.lang.Object
  extended by de.cau.cs.kieler.kiml.grana.visualizers.BasicHtmlVisualizer
All Implemented Interfaces:
IVisualizer<String,Object>

public class BasicHtmlVisualizer
extends Object
implements IVisualizer<String,Object>

The html visualizer which simply uses the text visualization as it is.

Rating red

Constructor Summary
BasicHtmlVisualizer()
           
 
Method Summary
 boolean canVisualize(Object result)
          Returns whether this class can visualize the given analysis result.
 String visualize(AbstractInfoAnalysis analysis, Object result, Object parameter)
          Visualizes the given analysis result by modifying the given parameter and/or returning an object that represents the visualization, if canVisualize returns true for the given result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicHtmlVisualizer

public BasicHtmlVisualizer()
Method Detail

canVisualize

public boolean canVisualize(Object result)
Returns whether this class can visualize the given analysis result.

Specified by:
canVisualize in interface IVisualizer<String,Object>
Parameters:
result - the result of an analysis
Returns:
true if this class can visualize the result

visualize

public String visualize(AbstractInfoAnalysis analysis,
                        Object result,
                        Object parameter)
Visualizes the given analysis result by modifying the given parameter and/or returning an object that represents the visualization, if canVisualize returns true for the given result.

Specified by:
visualize in interface IVisualizer<String,Object>
Parameters:
analysis - the analysis
result - the result to visualize
parameter - the parameter
Returns:
an object that represents the visualization or null if not applicable