SmartFrog 3.10.000

org.smartfrog.sfcore.languages.csf.constraints
Class NullSolver

java.lang.Object
  extended by org.smartfrog.sfcore.languages.csf.constraints.CoreSolver
      extended by org.smartfrog.sfcore.languages.csf.constraints.NullSolver
All Implemented Interfaces:
Solver

public class NullSolver
extends CoreSolver
implements Solver

Implementation of the default minimal solver - it does not bind any variables, it simply checks that no variables are present (ie there are no unbound variables).


Field Summary
protected  CSFComponentDescription top
           
protected  java.util.Vector unbounds
           
 
Constructor Summary
NullSolver()
           
 
Method Summary
 void solve(CSFComponentDescription cd)
          Implemention of the solver interface method., Solve the constraints and bind the variables.
 
Methods inherited from class org.smartfrog.sfcore.languages.csf.constraints.CoreSolver
solver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

unbounds

protected java.util.Vector unbounds

top

protected CSFComponentDescription top
Constructor Detail

NullSolver

public NullSolver()
Method Detail

solve

public void solve(CSFComponentDescription cd)
           throws SmartFrogCompileResolutionException
Implemention of the solver interface method., Solve the constraints and bind the variables. In this case, no solving, but simply check that there are no free variables.

Specified by:
solve in interface Solver
Parameters:
cd - the component description at the root of the tree
Throws:
SmartFrogCompileResolutionException

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP