Class MockValueExpression

  • All Implemented Interfaces:
    java.io.Serializable

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.lang.Class<?> getExpectedType()  
      java.lang.String getExpressionString()  
      java.lang.Class<?> getType​(javax.el.ELContext elc)  
      java.lang.Object getValue​(javax.el.ELContext elc)  
      int hashCode()  
      boolean isLiteralText()  
      boolean isReadOnly​(javax.el.ELContext elc)  
      void setValue​(javax.el.ELContext elc, java.lang.Object o)  
      • Methods inherited from class javax.el.ValueExpression

        getValueReference
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MockValueExpression

        public MockValueExpression​(java.lang.String value)
      • MockValueExpression

        public MockValueExpression()
    • Method Detail

      • getValue

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

        public void setValue​(javax.el.ELContext elc,
                             java.lang.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 java.lang.Class<?> getType​(javax.el.ELContext elc)
        Specified by:
        getType in class javax.el.ValueExpression
      • getExpectedType

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

        public java.lang.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​(java.lang.Object o)
        Specified by:
        equals in class javax.el.Expression
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

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