| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This class contains the logic to actually the start the work. Tries to first get the XML contained values. Then tries ro map these to JavaCC gnerated inputs. Then returns the evaluated value
| Field Summary | |
(package private) Vector | expressions |
(package private) static Hashtable | mapper |
(package private) Hashtable | nameType |
(package private) Hashtable | nameValue |
(package private) static Vector | types |
| Method Summary | |
String | getLHS(String input)Gets the Left Hand Side Evaluation |
String | getRHS(String input)Evaluates the right Hand Side Expession |
void | goOverExpressions()Go Over Individual Elements |
void | modifyValues(String name, double val)Modify each Value |
double | processInputExpression(String input)Process each expression |
String | reformat(String input)Reformats an expression |
void | start()Start up the process |
| Field Detail |
Vector expressions
static Hashtable mapper
Hashtable nameType
Hashtable nameValue
static Vector types
| Method Detail |
public String getLHS(String input)
public String getRHS(String input)
public void goOverExpressions()
public void modifyValues(String name, double val)
public double processInputExpression(String input)
throws DataOverflowException,
DataUnderflowException
public String reformat(String input)
throws DivisionException
public void start()
| Association Links |
to Class java.util.Hashtable
to Class java.util.Hashtable
to Class java.util.Vector
to Class java.util.Vector
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||