public class DefaultFormulaContext extends Object implements FormulaContext
| Constructor and Description |
|---|
DefaultFormulaContext() |
DefaultFormulaContext(org.pentaho.reporting.libraries.base.config.Configuration config) |
DefaultFormulaContext(org.pentaho.reporting.libraries.base.config.Configuration config,
Locale locale,
TimeZone timeZone) |
| Modifier and Type | Method and Description |
|---|---|
void |
defineReference(Object name,
Object value) |
org.pentaho.reporting.libraries.base.config.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(Object name)
Checks whether the external object referenced by
name has changed. |
Object |
resolveReference(Object name)
Resolves the given reference.
|
Type |
resolveReferenceType(Object name)
Queries the type of the given reference.
|
public DefaultFormulaContext()
public DefaultFormulaContext(org.pentaho.reporting.libraries.base.config.Configuration config)
public OperatorFactory getOperatorFactory()
FormulaContextgetOperatorFactory in interface FormulaContextpublic Object resolveReference(Object name)
FormulaContextresolveReference in interface FormulaContextname - the name that identifies the reference.public org.pentaho.reporting.libraries.base.config.Configuration getConfiguration()
FormulaContextgetConfiguration in interface FormulaContextpublic FunctionRegistry getFunctionRegistry()
FormulaContextgetFunctionRegistry in interface FormulaContextpublic Type resolveReferenceType(Object name)
FormulaContextresolveReferenceType in interface FormulaContextname - the name that identifies the reference.public TypeRegistry getTypeRegistry()
FormulaContextgetTypeRegistry in interface FormulaContextpublic LocalizationContext getLocalizationContext()
FormulaContextgetLocalizationContext in interface FormulaContextpublic boolean isReferenceDirty(Object name)
FormulaContextname has changed.isReferenceDirty in interface FormulaContextname - the name that identifies the reference.