State decPartNumState = new NamedState("DECIMAL_NUM");
State fslashState = new NamedState("FORWARD-SLASH");
State hypenState = new NamedState("HYPHEN");
State dotLeftState = new NamedState("DOT_LEFT");
State dotRightState = new NamedState("DOT_RIGHT");
Condition intNumeratorCondition = new NumberCondition();
Condition decPartInt = new NumberCondition();
Condition fslashCondition = new PunctuationValueCondition('/');
Condition intDenominatorCondition = new NumberCondition();
Condition decDenominatorCondition = new DecimalCondition();
Condition decimalCondition = new DecimalCondition();
Condition containsdotCondition = new PunctuationValueCondition('.');
Condition leftContainsShortDose = new ContainsSetTextValueCondition(
iv_textNumeratorSet, false);
startState.addTransition(intNumeratorCondition, numeratorLeftState);
startState.addTransition(leftContainsShortDose, numeratorLeftState);
startState.addTransition(new DecimalCondition(), numeratorLeftState);