|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.adfnmc.el.ELContext
oracle.adfnmc.el.impl.SimpleContext
public class SimpleContext
Oracle implementation of ELContext, based on JUEL's de.odysseus.el.util.SimpleContext
.
Context's
ELResolver is a CompositeELResolver
that contains a SelfELResolver
, MapELResolver
and
ListELResolver
.
Field Summary | |
---|---|
static ValueExpression |
NULL_VALUEEXPRESSION
|
Constructor Summary | |
---|---|
SimpleContext()
Create a context. |
Method Summary | |
---|---|
ELResolver |
getELResolver()
Retrieves the ELResolver associated with this context. |
FunctionMapper |
getFunctionMapper()
Get our function mapper. |
static MethodExpression |
getMethodExpression(java.lang.String expressionStr,
java.lang.Class expectedReturnType,
java.lang.Class[] expectedParamTypes)
|
static ValueExpression |
getValueExpression(java.lang.String expressionStr,
java.lang.Class expectedType)
|
VariableMapper |
getVariableMapper()
Get our variable mapper. |
void |
setFunction(java.lang.String prefix,
java.lang.String localName,
oracle.adfnmc.util.reflection.Method method)
Define a function |
ValueExpression |
setVariable(java.lang.String name,
ValueExpression expression)
Define a variable |
Methods inherited from class oracle.adfnmc.el.ELContext |
---|
getContext, getInstance, isPropertyResolved, putContext, setPropertyResolved |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ValueExpression NULL_VALUEEXPRESSION
Constructor Detail |
---|
public SimpleContext()
Method Detail |
---|
public static final ValueExpression getValueExpression(java.lang.String expressionStr, java.lang.Class expectedType)
expressionStr
- -
The raw string for the expression. A null value will return an instance of an expression object whose
getValue() method will return null, or a coerced primitive value of 'null' (e.g. 0, "", etc..) depending
on the expectedType argument.expectedType
- -
The expected type of the expression. getValue() calls on the returned expression object will throw a
TypeCoercionException if the evaluated result is not castable to this type. public static final MethodExpression getMethodExpression(java.lang.String expressionStr, java.lang.Class expectedReturnType, java.lang.Class[] expectedParamTypes)
public FunctionMapper getFunctionMapper()
getFunctionMapper
in class ELContext
public void setFunction(java.lang.String prefix, java.lang.String localName, oracle.adfnmc.util.reflection.Method method)
public VariableMapper getVariableMapper()
getVariableMapper
in class ELContext
public ValueExpression setVariable(java.lang.String name, ValueExpression expression)
public ELResolver getELResolver()
ELContext
ELResolver
associated with this context.
The ELContext
maintains a reference to the ELResolver
that will
be consulted to resolve variables and properties during an expression evaluation. This method
retrieves the reference to the resolver.
Once an ELContext
is constructed, the reference to the ELResolver
associated with the context cannot be changed.
getELResolver
in class ELContext
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |