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

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

public class ParamMultiOptionFactory
extends ParamFactory

Multi-Option Parameter Factory.

Author:
Blake Lucas

Field Summary
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.factory.ParamFactory
inputView, outputView
 
Constructor Summary
ParamMultiOptionFactory(ParamMultiOption param)
          Instantiates a new param multi option factory.
 
Method Summary
 void createMipavParameter(AlgorithmParameters scriptParams)
          Create Mipav parameter from MAPS parameter.
 ParamInputView getInputView()
          Get the current input view.
 ParamOutputView getOutputView()
          Get the current output view.
 ParamMultiOption getParameter()
          Get the 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

ParamMultiOptionFactory

public ParamMultiOptionFactory(ParamMultiOption param)
Instantiates a new param multi option factory.

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()
Description copied from class: ParamFactory
Get the current input view.

Specified by:
getInputView in class ParamFactory
Returns:
the input view

getOutputView

public ParamOutputView getOutputView()
Description copied from class: ParamFactory
Get the current output view.

Specified by:
getOutputView in class ParamFactory
Returns:
the output view

getParameter

public ParamMultiOption getParameter()
Description copied from class: ParamFactory
Get the parameter.

Specified by:
getParameter in class ParamFactory
Returns:
the 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