Package org.joinfaces.test.mock
Class MockValueExpression
- java.lang.Object
-
- javax.el.Expression
-
- javax.el.ValueExpression
-
- org.joinfaces.test.mock.MockValueExpression
-
- All Implemented Interfaces:
java.io.Serializable
public class MockValueExpression extends ValueExpression
Value Expression Mock.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MockValueExpression()MockValueExpression(java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.Class<?>getExpectedType()java.lang.StringgetExpressionString()java.lang.Class<?>getType(ELContext elc)java.lang.ObjectgetValue(ELContext elc)inthashCode()booleanisLiteralText()booleanisReadOnly(ELContext elc)voidsetValue(ELContext elc, java.lang.Object o)-
Methods inherited from class javax.el.ValueExpression
getValueReference
-
-
-
-
Method Detail
-
getValue
public java.lang.Object getValue(ELContext elc)
- Specified by:
getValuein classValueExpression
-
setValue
public void setValue(ELContext elc, java.lang.Object o)
- Specified by:
setValuein classValueExpression
-
isReadOnly
public boolean isReadOnly(ELContext elc)
- Specified by:
isReadOnlyin classValueExpression
-
getType
public java.lang.Class<?> getType(ELContext elc)
- Specified by:
getTypein classValueExpression
-
getExpectedType
public java.lang.Class<?> getExpectedType()
- Specified by:
getExpectedTypein classValueExpression
-
getExpressionString
public java.lang.String getExpressionString()
- Specified by:
getExpressionStringin classExpression
-
isLiteralText
public boolean isLiteralText()
- Specified by:
isLiteralTextin classExpression
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equalsin classExpression
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Specified by:
hashCodein classExpression
-
-