Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.ui.web.binding.alias
Class AliasValueExpression

java.lang.Object
  extended by javax.el.Expression
      extended by javax.el.ValueExpression
          extended by org.nuxeo.ecm.platform.ui.web.binding.alias.AliasValueExpression
All Implemented Interfaces:
java.io.Serializable

public class AliasValueExpression
extends javax.el.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

Constructor Summary
AliasValueExpression(java.lang.String id, java.lang.String var)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Class<?> getExpectedType()
           
 java.lang.String getExpressionString()
           
 java.lang.Class<?> getType(javax.el.ELContext context)
           
 java.lang.Object getValue(javax.el.ELContext context)
          Looks up the AliasVariableMapper in the context, and if found, resolve the corresponding ValueExpression.
 int hashCode()
           
 boolean isLiteralText()
           
 boolean isReadOnly(javax.el.ELContext context)
           
 void setValue(javax.el.ELContext context, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AliasValueExpression

public AliasValueExpression(java.lang.String id,
                            java.lang.String var)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in class javax.el.Expression

hashCode

public int hashCode()
Specified by:
hashCode in class javax.el.Expression

getExpressionString

public java.lang.String getExpressionString()
Specified by:
getExpressionString in class javax.el.Expression

isLiteralText

public boolean isLiteralText()
Specified by:
isLiteralText in class javax.el.Expression

getExpectedType

public java.lang.Class<?> getExpectedType()
Specified by:
getExpectedType in class javax.el.ValueExpression

getType

public java.lang.Class<?> getType(javax.el.ELContext context)
Specified by:
getType in class javax.el.ValueExpression

getValue

public java.lang.Object getValue(javax.el.ELContext context)
Looks up the AliasVariableMapper in the context, and if found, resolve the corresponding ValueExpression.

Specified by:
getValue in class javax.el.ValueExpression

isReadOnly

public boolean isReadOnly(javax.el.ELContext context)
Specified by:
isReadOnly in class javax.el.ValueExpression

setValue

public void setValue(javax.el.ELContext context,
                     java.lang.Object value)
Specified by:
setValue in class javax.el.ValueExpression

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.