org.ajax4jsf.tests
Class ConstantlyFailingLiteralValueExpression

java.lang.Object
  extended by javax.el.Expression
      extended by javax.el.ValueExpression
          extended by org.ajax4jsf.tests.ConstantlyFailingLiteralValueExpression
All Implemented Interfaces:
java.io.Serializable

public class ConstantlyFailingLiteralValueExpression
extends javax.el.ValueExpression

Value expression failing when trying to coerce its expression string to any type Needed to test tags throw FacesException in that case

Author:
Maksim Kaszynski
See Also:
Serialized Form

Constructor Summary
ConstantlyFailingLiteralValueExpression()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Class<?> getExpectedType()
           
 java.lang.String getExpressionString()
           
 java.lang.Class<?> getType(javax.el.ELContext context)
           
 java.lang.Object getValue(javax.el.ELContext context)
           
 int hashCode()
           
 boolean isLiteralText()
           
 boolean isReadOnly(javax.el.ELContext context)
           
 void setValue(javax.el.ELContext context, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantlyFailingLiteralValueExpression

public ConstantlyFailingLiteralValueExpression()
Method Detail

getExpectedType

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

getType

public java.lang.Class<?> getType(javax.el.ELContext context)
Specified by:
getType in class javax.el.ValueExpression

getValue

public java.lang.Object getValue(javax.el.ELContext context)
Specified by:
getValue in class javax.el.ValueExpression

isReadOnly

public boolean isReadOnly(javax.el.ELContext context)
Specified by:
isReadOnly in class javax.el.ValueExpression

setValue

public void setValue(javax.el.ELContext context,
                     java.lang.Object value)
Specified by:
setValue in class javax.el.ValueExpression

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in class javax.el.Expression

getExpressionString

public java.lang.String getExpressionString()
Specified by:
getExpressionString in class javax.el.Expression

hashCode

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

isLiteralText

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


Copyright © 2009. All Rights Reserved.