Package org.joinfaces.test.mock
Class MockValueExpression
- java.lang.Object
-
- javax.el.Expression
-
- javax.el.ValueExpression
-
- org.joinfaces.test.mock.MockValueExpression
-
- All Implemented Interfaces:
Serializable
public class MockValueExpression extends ValueExpression
Value Expression Mock.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MockValueExpression()
MockValueExpression(String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
Class<?>
getExpectedType()
String
getExpressionString()
Class<?>
getType(ELContext elc)
Object
getValue(ELContext elc)
int
hashCode()
boolean
isLiteralText()
boolean
isReadOnly(ELContext elc)
void
setValue(ELContext elc, Object o)
-
Methods inherited from class javax.el.ValueExpression
getValueReference
-
-
-
-
Constructor Detail
-
MockValueExpression
public MockValueExpression(String value)
-
MockValueExpression
public MockValueExpression()
-
-
Method Detail
-
getValue
public Object getValue(ELContext elc)
- Specified by:
getValue
in classValueExpression
-
setValue
public void setValue(ELContext elc, Object o)
- Specified by:
setValue
in classValueExpression
-
isReadOnly
public boolean isReadOnly(ELContext elc)
- Specified by:
isReadOnly
in classValueExpression
-
getType
public Class<?> getType(ELContext elc)
- Specified by:
getType
in classValueExpression
-
getExpectedType
public Class<?> getExpectedType()
- Specified by:
getExpectedType
in classValueExpression
-
getExpressionString
public String getExpressionString()
- Specified by:
getExpressionString
in classExpression
-
isLiteralText
public boolean isLiteralText()
- Specified by:
isLiteralText
in classExpression
-
equals
public boolean equals(Object o)
- Specified by:
equals
in classExpression
-
canEqual
protected boolean canEqual(Object other)
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classExpression
-
-