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 Summary
Constructors Constructor Description ToolElementFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ToolElement
newToolElement(ToolInfo toolInfo, Element param)
Gets the instance tool element.static ToolElement
newToolElement(ToolInfo toolInfo, Element tag, String nameSpace)
Gets the instance tool element.
-
-
-
Method Detail
-
newToolElement
public static ToolElement newToolElement(ToolInfo toolInfo, Element param) throws EoulsanException
Gets the instance tool element.- Parameters:
toolInfo
- ToolInfo objectparam
- 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 objecttag
- the parameternameSpace
- the name space- Returns:
- the instance tool element
- Throws:
EoulsanException
- if an error occurs while creating ToolElement
-
-