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

Quick Search    Search Deep

org.embl.ebi.escience.scuflworkers.stringconstant
Class StringConstantProcessorFactory  view StringConstantProcessorFactory download StringConstantProcessorFactory.java

java.lang.Object
  extended byorg.embl.ebi.escience.scuflworkers.stringconstant.StringConstantProcessorFactory
All Implemented Interfaces:
org.embl.ebi.escience.scuflworkers.ProcessorFactory

public class StringConstantProcessorFactory
extends java.lang.Object
implements org.embl.ebi.escience.scuflworkers.ProcessorFactory

Implementation of ProcessorFactory that creates StringConstantProcessor nodes


Field Summary
private  java.lang.String value
           
 
Constructor Summary
StringConstantProcessorFactory(java.lang.String value)
          Create a new factory configured with the specified constant value
 
Method Summary
 void createProcessor(java.lang.String name, org.embl.ebi.escience.scufl.ScuflModel model)
          Create a new StringConstantProcessor 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 constant value as the name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

private java.lang.String value
Constructor Detail

StringConstantProcessorFactory

public StringConstantProcessorFactory(java.lang.String value)
Create a new factory configured with the specified constant value

Method Detail

toString

public java.lang.String toString()
Return the constant value as the 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 StringConstantProcessor and add it to the model

Specified by:
createProcessor in interface org.embl.ebi.escience.scuflworkers.ProcessorFactory

getProcessorDescription

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

Specified by:
getProcessorDescription in interface org.embl.ebi.escience.scuflworkers.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 org.embl.ebi.escience.scuflworkers.ProcessorFactory