public class DefaultValueExpression extends javax.el.ValueExpression
Accepts a null original value expression in case default value should be resolved even if no mapping should be done.
Modifier and Type | Field and Description |
---|---|
protected javax.el.ValueExpression |
defaultExpression |
protected javax.el.ValueExpression |
originalExpression |
Constructor and Description |
---|
DefaultValueExpression(javax.el.ValueExpression originalExpression,
javax.el.ValueExpression defaultExpression) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Class<?> |
getExpectedType() |
String |
getExpressionString() |
Class<?> |
getType(javax.el.ELContext arg0) |
Object |
getValue(javax.el.ELContext arg0) |
int |
hashCode() |
boolean |
isLiteralText() |
boolean |
isReadOnly(javax.el.ELContext arg0) |
void |
setValue(javax.el.ELContext arg0,
Object arg1) |
protected final javax.el.ValueExpression originalExpression
protected final javax.el.ValueExpression defaultExpression
public DefaultValueExpression(javax.el.ValueExpression originalExpression, javax.el.ValueExpression defaultExpression)
public Class<?> getExpectedType()
getExpectedType
in class javax.el.ValueExpression
public Class<?> getType(javax.el.ELContext arg0) throws javax.el.PropertyNotFoundException
getType
in class javax.el.ValueExpression
javax.el.PropertyNotFoundException
public Object getValue(javax.el.ELContext arg0) throws javax.el.PropertyNotFoundException
getValue
in class javax.el.ValueExpression
javax.el.PropertyNotFoundException
public boolean isReadOnly(javax.el.ELContext arg0) throws javax.el.PropertyNotFoundException
isReadOnly
in class javax.el.ValueExpression
javax.el.PropertyNotFoundException
public void setValue(javax.el.ELContext arg0, Object arg1) throws javax.el.PropertyNotFoundException
setValue
in class javax.el.ValueExpression
javax.el.PropertyNotFoundException
public String getExpressionString()
getExpressionString
in class javax.el.Expression
public int hashCode()
hashCode
in class javax.el.Expression
public boolean isLiteralText()
isLiteralText
in class javax.el.Expression
Copyright © 2016 Nuxeo SA. All rights reserved.