|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FormulaContext
The formula-context connects the formula functions with the outside world. The context can be used to resolve external references, to query the configuration or to retrieve information about the formula-evaluation system.
| Method Summary | |
|---|---|
Configuration |
getConfiguration()
Returns the local configuration of the formula. |
FunctionRegistry |
getFunctionRegistry()
Returns the function registry. |
LocalizationContext |
getLocalizationContext()
Returns the localization context of this formula. |
OperatorFactory |
getOperatorFactory()
Returns the operator registry. |
TypeRegistry |
getTypeRegistry()
Returns the type registry. |
boolean |
isReferenceDirty(java.lang.Object name)
Checks whether the external object referenced by name has changed. |
java.lang.Object |
resolveReference(java.lang.Object name)
Resolves the given reference. |
Type |
resolveReferenceType(java.lang.Object name)
Queries the type of the given reference. |
| Method Detail |
|---|
boolean isReferenceDirty(java.lang.Object name)
throws ContextEvaluationException
name has changed.
name - the name that identifies the reference.
ContextEvaluationException - if an error occurs.
java.lang.Object resolveReference(java.lang.Object name)
throws ContextEvaluationException
name - the name that identifies the reference.
ContextEvaluationException - if an error occurs.
Type resolveReferenceType(java.lang.Object name)
throws ContextEvaluationException
name - the name that identifies the reference.
ContextEvaluationException - if an error occurs.LocalizationContext getLocalizationContext()
Configuration getConfiguration()
FunctionRegistry getFunctionRegistry()
TypeRegistry getTypeRegistry()
OperatorFactory getOperatorFactory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||