Class ToolElementFactory

java.lang.Object
fr.ens.biologie.genomique.eoulsan.galaxytools.elements.ToolElementFactory

public class ToolElementFactory extends Object
This class define a factory for ToolElement objects.
Since:
2.0
Author:
Laurent Jourdren
  • Constructor Details

    • ToolElementFactory

      public ToolElementFactory()
  • Method Details

    • newToolElement

      public static ToolElement newToolElement(ToolInfo toolInfo, Element param) throws EoulsanException
      Gets the instance tool element.
      Parameters:
      toolInfo - ToolInfo object
      param - the parameter
      Returns:
      the instance tool element
      Throws:
      EoulsanException - if an error occurs while creating ToolElement
    • newToolElement

      public static ToolElement newToolElement(ToolInfo toolInfo, Element tag, String nameSpace) throws EoulsanException
      Gets the instance tool element.
      Parameters:
      toolInfo - ToolInfo object
      tag - the parameter
      nameSpace - the name space
      Returns:
      the instance tool element
      Throws:
      EoulsanException - if an error occurs while creating ToolElement