edu.jhu.ece.iacl.jist.pipeline.factory
Class ParamInformationFactory

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.pipeline.factory.ParamFactory
      extended by edu.jhu.ece.iacl.jist.pipeline.factory.ParamInformationFactory

public class ParamInformationFactory
extends ParamFactory

Algorithm Information Parameter Factory.

Author:
Blake Lucas

Field Summary
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.factory.ParamFactory
inputView, outputView
 
Constructor Summary
ParamInformationFactory()
          Instantiates a new param information factory.
ParamInformationFactory(ParamInformation param)
          Construct factory for specified parameter.
 
Method Summary
 void createMipavParameter(AlgorithmParameters scriptParams)
          Create Mipav parameter from MAPS parameter.
 ParamInputView getInputView()
          Get parameter input view.
 ParamOutputView getOutputView()
          Get parameter output view.
 ParamInformation getParameter()
          Get factory's parameter.
 void importMipavParameter(ParameterTable paramTable)
          Import Mipav parameter into this parameter.
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.factory.ParamFactory
createTreeNode, decodeName, decodeValue, encodeName, encodeValue, equals, fromXML, fromXML, importParameter, isCompatible, loadResources, read, read, saveResources, setInputView, setOutputView, toXML, write, write
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParamInformationFactory

public ParamInformationFactory()
Instantiates a new param information factory.


ParamInformationFactory

public ParamInformationFactory(ParamInformation param)
Construct factory for specified parameter.

Parameters:
param - the param
Method Detail

createMipavParameter

public void createMipavParameter(AlgorithmParameters scriptParams)
                          throws ParserException
Description copied from class: ParamFactory
Create Mipav parameter from MAPS parameter.

Specified by:
createMipavParameter in class ParamFactory
Parameters:
scriptParams - script parameters that will store this parameter
Throws:
ParserException - the parser exception

getInputView

public ParamInputView getInputView()
Get parameter input view.

Specified by:
getInputView in class ParamFactory
Returns:
input view

getOutputView

public ParamOutputView getOutputView()
Get parameter output view.

Specified by:
getOutputView in class ParamFactory
Returns:
output view

getParameter

public ParamInformation getParameter()
Get factory's parameter.

Specified by:
getParameter in class ParamFactory
Returns:
file parameter

importMipavParameter

public void importMipavParameter(ParameterTable paramTable)
                          throws ParameterException
Description copied from class: ParamFactory
Import Mipav parameter into this parameter.

Specified by:
importMipavParameter in class ParamFactory
Parameters:
paramTable - the param table
Throws:
ParameterException - the parameter exception