net.sourceforge.taverna.scuflworkers.ncbi
Class PubMedSearchWorker
java.lang.Object
net.sourceforge.taverna.scuflworkers.ncbi.AbstractNCBIWorker
net.sourceforge.taverna.scuflworkers.ncbi.PubMedSearchWorker
- All Implemented Interfaces:
- LocalWorker
public class PubMedSearchWorker
- extends AbstractNCBIWorker
This class downloads PubMed records in XML format. Since NCBI does not
currently support a pure XML
- Version:
- $Revision: 1.2 $
- Author:
- mfortner
|
Method Summary |
java.util.Map |
execute(java.util.Map inputMap)
This is the main method of the class. |
java.lang.String[] |
inputNames()
This method returns an array of names of input values. |
java.lang.String[] |
inputTypes()
This method returns an array of input mimetypes. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PubMedSearchWorker
public PubMedSearchWorker()
execute
public java.util.Map execute(java.util.Map inputMap)
throws TaskExecutionException
- Description copied from class:
AbstractNCBIWorker
- This is the main method of the class.
- Specified by:
execute in interface LocalWorker- Specified by:
execute in class AbstractNCBIWorker
- Parameters:
inputMap - A map of values to be used by the worker class.
- Throws:
TaskExecutionException - thrown if there is an error during invocation of the task.
inputNames
public java.lang.String[] inputNames()
- Description copied from class:
AbstractNCBIWorker
- This method returns an array of names of input values. These values are
used as keys in the inputMap.
- Specified by:
inputNames in interface LocalWorker- Overrides:
inputNames in class AbstractNCBIWorker
inputTypes
public java.lang.String[] inputTypes()
- Description copied from class:
AbstractNCBIWorker
- This method returns an array of input mimetypes.
- Specified by:
inputTypes in interface LocalWorker- Overrides:
inputTypes in class AbstractNCBIWorker