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 javax.el.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(javax.el.ELContext elc)
Object
getValue(javax.el.ELContext elc)
int
hashCode()
boolean
isLiteralText()
boolean
isReadOnly(javax.el.ELContext elc)
void
setValue(javax.el.ELContext elc, Object o)
-
-
-
Constructor Detail
-
MockValueExpression
public MockValueExpression(String value)
-
MockValueExpression
public MockValueExpression()
-
-
Method Detail
-
getValue
public Object getValue(javax.el.ELContext elc)
- Specified by:
getValue
in classjavax.el.ValueExpression
-
setValue
public void setValue(javax.el.ELContext elc, Object o)
- Specified by:
setValue
in classjavax.el.ValueExpression
-
isReadOnly
public boolean isReadOnly(javax.el.ELContext elc)
- Specified by:
isReadOnly
in classjavax.el.ValueExpression
-
getType
public Class<?> getType(javax.el.ELContext elc)
- Specified by:
getType
in classjavax.el.ValueExpression
-
getExpectedType
public Class<?> getExpectedType()
- Specified by:
getExpectedType
in classjavax.el.ValueExpression
-
getExpressionString
public String getExpressionString()
- Specified by:
getExpressionString
in classjavax.el.Expression
-
isLiteralText
public boolean isLiteralText()
- Specified by:
isLiteralText
in classjavax.el.Expression
-
equals
public boolean equals(Object o)
- Specified by:
equals
in classjavax.el.Expression
-
canEqual
protected boolean canEqual(Object other)
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classjavax.el.Expression
-
-