org.nuxeo.ecm.platform.ui.web.binding.alias
Class AliasValueExpression
java.lang.Object
javax.el.Expression
javax.el.ValueExpression
org.nuxeo.ecm.platform.ui.web.binding.alias.AliasValueExpression
- All Implemented Interfaces:
- Serializable
public class AliasValueExpression
- extends ValueExpression
Value expression that only stores a reference the
AliasVariableMapper
id so that the corresponding expression is found
in the context, and is evaluated against contextual values.
- Since:
- 5.4
- Author:
- Anahide Tchertchian
- See Also:
- Serialized Form
AliasValueExpression
public AliasValueExpression(String id,
String var)
equals
public boolean equals(Object obj)
- Specified by:
equals
in class Expression
hashCode
public int hashCode()
- Specified by:
hashCode
in class Expression
getExpressionString
public String getExpressionString()
- Specified by:
getExpressionString
in class Expression
isLiteralText
public boolean isLiteralText()
- Specified by:
isLiteralText
in class Expression
getExpectedType
public Class<?> getExpectedType()
- Specified by:
getExpectedType
in class ValueExpression
getType
public Class<?> getType(ELContext context)
- Specified by:
getType
in class ValueExpression
getValue
public Object getValue(ELContext context)
- Looks up the
AliasVariableMapper
in the context, and if found,
resolve the corresponding ValueExpression
.
- Specified by:
getValue
in class ValueExpression
isReadOnly
public boolean isReadOnly(ELContext context)
- Specified by:
isReadOnly
in class ValueExpression
setValue
public void setValue(ELContext context,
Object value)
- Specified by:
setValue
in class ValueExpression
Copyright © 2011 Nuxeo SAS. All Rights Reserved.