org.datamixer.functions.datamixer
Class AddValueStrategy

java.lang.Object
  extended byorg.datamixer.functions.FunctionStrategy
      extended byorg.datamixer.functions.datamixer.AddValueStrategy

public class AddValueStrategy
extends FunctionStrategy

AddValueStrategy takes two arguments: a DatamixerIterator and a ValueList. It passes the result of iterator.nextValue to ValueList.addValue(Value), and returns the ValueList in a ValueListValue.


Field Summary
 
Fields inherited from class org.datamixer.functions.FunctionStrategy
functionIterator_, logger_, result_
 
Constructor Summary
AddValueStrategy()
           
 
Method Summary
 Value operator()
          Takes two arguments: a DatamixerIterator and a ValueList.
 
Methods inherited from class org.datamixer.functions.FunctionStrategy
doInitialize, findDataType, getDataType, getFunctionIterator, handleArguments, initialize, initResult, operate, setDataType, setFunctionIterator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddValueStrategy

public AddValueStrategy()
Method Detail

operator

public Value operator()
               throws DatamixerException
Takes two arguments: a DatamixerIterator and a ValueList. Passes the Value returned by iterator.next to ValueList.addValue(Value), and returns the ValueList in a ValueListValue.

Overrides:
operator in class FunctionStrategy
Throws:
DatamixerException


Copyright © 2004-2006 datamixer.org. All Rights Reserved.