Package org.apache.jasper.el
Class JspValueExpression
- java.lang.Object
- 
- javax.el.Expression
- 
- javax.el.ValueExpression
- 
- org.apache.jasper.el.JspValueExpression
 
 
 
- 
- All Implemented Interfaces:
- java.io.Externalizable,- java.io.Serializable
 
 public final class JspValueExpression extends ValueExpression implements java.io.Externalizable Wrapper for providing context to ValueExpressions- Author:
- Jacob Hookom
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description JspValueExpression()JspValueExpression(java.lang.String mark, ValueExpression target)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.Class<?>getExpectedType()java.lang.StringgetExpressionString()java.lang.Class<?>getType(ELContext context)java.lang.ObjectgetValue(ELContext context)inthashCode()booleanisLiteralText()booleanisReadOnly(ELContext context)voidreadExternal(java.io.ObjectInput in)voidsetValue(ELContext context, java.lang.Object value)voidwriteExternal(java.io.ObjectOutput out)- 
Methods inherited from class javax.el.ValueExpressiongetValueReference
 
- 
 
- 
- 
- 
Constructor Detail- 
JspValueExpressionpublic JspValueExpression() 
 - 
JspValueExpressionpublic JspValueExpression(java.lang.String mark, ValueExpression target)
 
- 
 - 
Method Detail- 
getExpectedTypepublic java.lang.Class<?> getExpectedType() - Specified by:
- getExpectedTypein class- ValueExpression
 
 - 
getTypepublic java.lang.Class<?> getType(ELContext context) throws java.lang.NullPointerException, PropertyNotFoundException, ELException - Specified by:
- getTypein class- ValueExpression
- Parameters:
- context- The EL context for this evaluation
- Returns:
- The type of the result of this value expression
- Throws:
- java.lang.NullPointerException- If the supplied context is- null
- PropertyNotFoundException- If a property/variable resolution failed because no match was found or a match was found but was not readable
- ELException- Wraps any exception throw whilst resolving a property or variable
 
 - 
isReadOnlypublic boolean isReadOnly(ELContext context) throws java.lang.NullPointerException, PropertyNotFoundException, ELException - Specified by:
- isReadOnlyin class- ValueExpression
- Parameters:
- context- The EL context for this evaluation
- Returns:
- trueif this expression is read only otherwise- false
- Throws:
- java.lang.NullPointerException- If the supplied context is- null
- PropertyNotFoundException- If a property/variable resolution failed because no match was found or a match was found but was not readable
- ELException- Wraps any exception throw whilst resolving a property or variable
 
 - 
setValuepublic void setValue(ELContext context, java.lang.Object value) throws java.lang.NullPointerException, PropertyNotFoundException, PropertyNotWritableException, ELException - Specified by:
- setValuein class- ValueExpression
- Parameters:
- context- The EL context for this evaluation
- value- The value to set the property to which this value expression refers
- Throws:
- java.lang.NullPointerException- If the supplied context is- null
- PropertyNotFoundException- If a property/variable resolution failed because no match was found
- PropertyNotWritableException- If a property/variable resolution failed because a match was found but was not writable
- ELException- Wraps any exception throw whilst resolving a property or variable
 
 - 
getValuepublic java.lang.Object getValue(ELContext context) throws java.lang.NullPointerException, PropertyNotFoundException, ELException - Specified by:
- getValuein class- ValueExpression
- Parameters:
- context- The EL context for this evaluation
- Returns:
- The result of evaluating this value expression
- Throws:
- java.lang.NullPointerException- If the supplied context is- null
- PropertyNotFoundException- If a property/variable resolution failed because no match was found or a match was found but was not readable
- ELException- Wraps any exception throw whilst resolving a property or variable
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Specified by:
- equalsin class- Expression
 
 - 
hashCodepublic int hashCode() - Specified by:
- hashCodein class- Expression
 
 - 
getExpressionStringpublic java.lang.String getExpressionString() - Specified by:
- getExpressionStringin class- Expression
 
 - 
isLiteralTextpublic boolean isLiteralText() - Specified by:
- isLiteralTextin class- Expression
 
 - 
writeExternalpublic void writeExternal(java.io.ObjectOutput out) throws java.io.IOException- Specified by:
- writeExternalin interface- java.io.Externalizable
- Throws:
- java.io.IOException
 
 - 
readExternalpublic void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException- Specified by:
- readExternalin interface- java.io.Externalizable
- Throws:
- java.io.IOException
- java.lang.ClassNotFoundException
 
 
- 
 
-