Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.embl.ebi.escience.scuflui.workbench
Class TalismanProcessorFactory  view TalismanProcessorFactory download TalismanProcessorFactory.java

java.lang.Object
  extended byorg.embl.ebi.escience.scuflui.workbench.TalismanProcessorFactory
All Implemented Interfaces:
ProcessorFactory

public class TalismanProcessorFactory
extends java.lang.Object
implements ProcessorFactory

Implementation of ProcessorFactory that creates TalismanProcessor nodes


Field Summary
private  java.lang.String scriptURL
           
 
Constructor Summary
TalismanProcessorFactory(java.lang.String scriptURL)
          Create a new factory configured with the specified script URL
 
Method Summary
 void createProcessor(java.lang.String name, org.embl.ebi.escience.scufl.ScuflModel model)
          Create a new SoaplabProcessor and add it to the model
 java.lang.Class getProcessorClass()
          Return the Class object for processors that would be created by this factory
 java.lang.String getProcessorDescription()
          Return a textual description of the factory
 java.lang.String toString()
          Return the leaf of the path as the factory name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

scriptURL

private java.lang.String scriptURL
Constructor Detail

TalismanProcessorFactory

public TalismanProcessorFactory(java.lang.String scriptURL)
Create a new factory configured with the specified script URL

Method Detail

toString

public java.lang.String toString()
Return the leaf of the path as the factory name


createProcessor

public void createProcessor(java.lang.String name,
                            org.embl.ebi.escience.scufl.ScuflModel model)
                     throws org.embl.ebi.escience.scufl.ProcessorCreationException,
                            org.embl.ebi.escience.scufl.DuplicateProcessorNameException
Create a new SoaplabProcessor and add it to the model

Specified by:
createProcessor in interface ProcessorFactory

getProcessorDescription

public java.lang.String getProcessorDescription()
Return a textual description of the factory

Specified by:
getProcessorDescription in interface ProcessorFactory

getProcessorClass

public java.lang.Class getProcessorClass()
Return the Class object for processors that would be created by this factory

Specified by:
getProcessorClass in interface ProcessorFactory