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