Class GraphService


  • public class GraphService
    extends WidgetService
    Author:
    Alex Kalderimis
    • Constructor Detail

      • GraphService

        public GraphService​(InterMineAPI im)
        Parameters:
        im - the InterMine state object
    • Method Detail

      • execute

        protected void execute()
                        throws java.lang.Exception
        Description copied from class: WebService
        Runs service. This is abstract method, that must be defined in subclasses and so performs something useful. Standard procedure is overwrite this method in subclasses and let this method to be called from WebService.doGet method that encapsulates logic common for all web services else you can overwrite doGet method in your web service class and manage all the things alone.
        Specified by:
        execute in class WebService
        Throws:
        java.lang.Exception - if some error occurs
      • addOutputConfig

        protected void addOutputConfig​(WidgetConfig config)
        Description copied from class: WidgetService
        Add metadata about the widget we are using.
        Overrides:
        addOutputConfig in class WidgetService
        Parameters:
        config - The description of the widget.
      • makeXMLOutput

        protected Output makeXMLOutput​(java.io.PrintWriter out)
        Parameters:
        out - The raw XML output.
        Returns:
        An output object.