public class DefaultFormulaContext extends java.lang.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,
java.util.Locale locale,
java.util.TimeZone timeZone) |
| Modifier and Type | Method and Description |
|---|---|
void |
defineReference(java.lang.Object name,
java.lang.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(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.
|
public DefaultFormulaContext()
public DefaultFormulaContext(org.pentaho.reporting.libraries.base.config.Configuration config)
public DefaultFormulaContext(org.pentaho.reporting.libraries.base.config.Configuration config,
java.util.Locale locale,
java.util.TimeZone timeZone)
public OperatorFactory getOperatorFactory()
FormulaContextgetOperatorFactory in interface FormulaContextpublic void defineReference(java.lang.Object name,
java.lang.Object value)
public java.lang.Object resolveReference(java.lang.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(java.lang.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(java.lang.Object name)
FormulaContextname has changed.isReferenceDirty in interface FormulaContextname - the name that identifies the reference.