Class MockValueExpression

  • All Implemented Interfaces:
    Serializable

    public class MockValueExpression
    extends javax.el.ValueExpression
    Value Expression Mock.
    See Also:
    Serialized Form
    • Constructor Detail

      • MockValueExpression

        public MockValueExpression​(String value)
      • MockValueExpression

        public MockValueExpression()
    • Method Detail

      • getValue

        public Object getValue​(javax.el.ELContext elc)
        Specified by:
        getValue in class javax.el.ValueExpression
      • setValue

        public void setValue​(javax.el.ELContext elc,
                             Object o)
        Specified by:
        setValue in class javax.el.ValueExpression
      • isReadOnly

        public boolean isReadOnly​(javax.el.ELContext elc)
        Specified by:
        isReadOnly in class javax.el.ValueExpression
      • getType

        public Class<?> getType​(javax.el.ELContext elc)
        Specified by:
        getType in class javax.el.ValueExpression
      • getExpectedType

        public Class<?> getExpectedType()
        Specified by:
        getExpectedType in class javax.el.ValueExpression
      • getExpressionString

        public String getExpressionString()
        Specified by:
        getExpressionString in class javax.el.Expression
      • isLiteralText

        public boolean isLiteralText()
        Specified by:
        isLiteralText in class javax.el.Expression
      • equals

        public boolean equals​(Object o)
        Specified by:
        equals in class javax.el.Expression
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in class javax.el.Expression