|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FormulaChecker
A formula checker can check logical correctness of a formula or term.
| Method Summary | |
|---|---|
LogicalCheckExceptionList |
checkFormula(Element element,
ModuleContext context)
Checks if an Element is a formula. |
LogicalCheckExceptionList |
checkFormula(Element element,
ModuleContext context,
ExistenceChecker existenceChecker)
Checks if an Element is a formula. |
LogicalCheckExceptionList |
checkTerm(Element element,
ModuleContext context)
Check if Element is a term. |
LogicalCheckExceptionList |
checkTerm(Element element,
ModuleContext context,
ExistenceChecker existenceChecker)
Check if Element is a term. |
| Method Detail |
|---|
LogicalCheckExceptionList checkFormula(Element element,
ModuleContext context,
ExistenceChecker existenceChecker)
Element is a formula. If there are any errors the returned list
(which is always not null) has a size greater zero.
element - Check this element.context - For location information. Important for locating errors.existenceChecker - Existence checker for operators.
null.
LogicalCheckExceptionList checkFormula(Element element,
ModuleContext context)
Element is a formula. All predicates and functions are assumed to exist.
If there are any errors the returned list (which is always not null) has a size
greater zero.
If the existence context is known you should use
checkFormula(Element, ModuleContext, ExistenceChecker).
element - Check this element.context - For location information. Important for locating errors.
null.
LogicalCheckExceptionList checkTerm(Element element,
ModuleContext context,
ExistenceChecker existenceChecker)
Element is a term. If there are any errors the returned list
(which is always not null) has a size greater zero.
element - Check this element.context - For location information. Important for locating errors.existenceChecker - Existence checker for operators.
null.
LogicalCheckExceptionList checkTerm(Element element,
ModuleContext context)
Element is a term. If there are any errors the returned list
(which is always not null) has a size greater zero.
If the existence context is known you should use
checkTerm(Element, ModuleContext, ExistenceChecker).
element - Check this element.context - For location information. Important for locating errors.
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||