public abstract class ALcdDataObjectExpressionLanguage
extends java.lang.Object
ILcdDataObject
instances.TLcdDataObjectExpressionLanguage
Constructor and Description |
---|
ALcdDataObjectExpressionLanguage() |
Modifier and Type | Method and Description |
---|---|
abstract ILcdDataObjectExpression |
compile(java.lang.String aExpression)
Compiles the expression to an intermediate representation.
|
TLcdDataObjectExpressionContext |
createContext(ILcdDataObject aRootObject)
Creates a context for the given root object for evaluating expressions.
|
java.lang.Object |
evaluate(java.lang.String aExpression,
ILcdDataObject aRoot)
Returns the result of evaluating the given expression for the given root object.
|
java.lang.Object |
evaluate(java.lang.String aExpression,
TLcdDataObjectExpressionContext aContext)
Returns the result of evaluating the given expression with the given context.
|
public TLcdDataObjectExpressionContext createContext(ILcdDataObject aRootObject)
aRootObject
- the root objectpublic java.lang.Object evaluate(java.lang.String aExpression, TLcdDataObjectExpressionContext aContext)
aExpression
- the expression to evaluateaContext
- the context objectpublic java.lang.Object evaluate(java.lang.String aExpression, ILcdDataObject aRoot)
aExpression
- the expression to evaluateaRoot
- the root objectpublic abstract ILcdDataObjectExpression compile(java.lang.String aExpression)
aExpression
- the expression to compile