org.embl.ebi.escience.scuflworkers.apiconsumer
Class APIConsumerProcessorFactory

java.lang.Object
  extended by org.embl.ebi.escience.scuflworkers.ProcessorFactory
      extended by org.embl.ebi.escience.scuflworkers.apiconsumer.APIConsumerProcessorFactory

public class APIConsumerProcessorFactory
extends ProcessorFactory

APIConsumer factory

Author:
Tom Oinn

Constructor Summary
APIConsumerProcessorFactory(APIConsumerDefinition def)
          public APIConsumerProcessorFactory(Element e) { String methodName = e.getAttributeValue("name","No method!"); setName(methodName); Element descriptionElement = e.getChild("Description"); if (descriptionElement != null) { setDescription(descriptionElement.getTextTrim()); } }
 
Method Summary
 java.lang.Class getProcessorClass()
          Return the Class object describing the processor this factory would build
 java.lang.String getProcessorDescription()
          Describe the processor that would be created by this factory were the createProcessor method invoked
 
Methods inherited from class org.embl.ebi.escience.scuflworkers.ProcessorFactory
createProcessor, getDescription, getName, getXMLFragment, setDescription, setName, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

APIConsumerProcessorFactory

public APIConsumerProcessorFactory(APIConsumerDefinition def)
public APIConsumerProcessorFactory(Element e) { String methodName = e.getAttributeValue("name","No method!"); setName(methodName); Element descriptionElement = e.getChild("Description"); if (descriptionElement != null) { setDescription(descriptionElement.getTextTrim()); } }

Method Detail

getProcessorDescription

public java.lang.String getProcessorDescription()
Description copied from class: ProcessorFactory
Describe the processor that would be created by this factory were the createProcessor method invoked

Specified by:
getProcessorDescription in class ProcessorFactory

getProcessorClass

public java.lang.Class getProcessorClass()
Description copied from class: ProcessorFactory
Return the Class object describing the processor this factory would build

Specified by:
getProcessorClass in class ProcessorFactory