org.formulacompiler.spreadsheet
Class SpreadsheetBinder.Config

java.lang.Object
  extended by org.formulacompiler.spreadsheet.SpreadsheetBinder.Config
Enclosing interface:
SpreadsheetBinder

public static class SpreadsheetBinder.Config
extends java.lang.Object

Configuration data for new instances of SpreadsheetBinder.

Author:
peo
See Also:
SpreadsheetCompiler.newSpreadsheetBinder(org.formulacompiler.spreadsheet.SpreadsheetBinder.Config)

Field Summary
 Computation.Config compileTimeConfig
          The compile-time configuration to use; may be left null.
 java.lang.Class inputClass
          The class of the input type to whose methods you want to bind input elements; must not be null.
 java.lang.Class outputClass
          The class of the output type whose methods you want to bind to output elements; must not be null.
 Spreadsheet spreadsheet
          The spreadsheet whose elements you want to bind; must not be null.
 
Constructor Summary
SpreadsheetBinder.Config()
           
 
Method Summary
 void validate()
          Validates the configuration for missing or improperly set values.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

spreadsheet

public Spreadsheet spreadsheet
The spreadsheet whose elements you want to bind; must not be null.


inputClass

public java.lang.Class inputClass
The class of the input type to whose methods you want to bind input elements; must not be null.


outputClass

public java.lang.Class outputClass
The class of the output type whose methods you want to bind to output elements; must not be null.


compileTimeConfig

public Computation.Config compileTimeConfig
The compile-time configuration to use; may be left null.

Please refer to the tutorial for details.

Constructor Detail

SpreadsheetBinder.Config

public SpreadsheetBinder.Config()
Method Detail

validate

public void validate()
Validates the configuration for missing or improperly set values.

Throws:
java.lang.IllegalArgumentException