Class ToolElementFactory
java.lang.Object
fr.ens.biologie.genomique.eoulsan.galaxytools.elements.ToolElementFactory
This class define a factory for ToolElement objects.
- Since:
- 2.0
- Author:
- Laurent Jourdren
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ToolElementnewToolElement(ToolInfo toolInfo, Element param) Gets the instance tool element.static ToolElementnewToolElement(ToolInfo toolInfo, Element tag, String nameSpace) Gets the instance tool element.
-
Constructor Details
-
ToolElementFactory
public ToolElementFactory()
-
-
Method Details
-
newToolElement
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
-