Translators
Translator classes are the most important piece of the Math sub-component. Translators are responsible for translating every MathStatementDcl to its corresponding java source code. Translators perform error checking and also code generation for the single XML line.
Each <MathVariable> type that is defined by the TYPE attribute has one or more translators associated with it depending on the operations allowed on the math type and its complexity. MathVariableType.java, an enum, defines the list of all MathVariable TYPE and the corresponding translator classes. JavaMathTranslatorBll iterates through the MathStatementDcl and invokes the corresponding translator with the MathStatementDcl to perform the translation.
Note: Please see the XML Configuration Guide in the OIPA Documentation Library on Oracle's Technology Network for more details regarding XML schemas and definitions used by various OIPA rules.