public final class JspValueExpression extends ValueExpression implements java.io.Externalizable
Constructor and Description |
---|
JspValueExpression() |
JspValueExpression(java.lang.String mark,
ValueExpression target) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Class<?> |
getExpectedType() |
java.lang.String |
getExpressionString() |
java.lang.Class<?> |
getType(ELContext context) |
java.lang.Object |
getValue(ELContext context) |
int |
hashCode() |
boolean |
isLiteralText() |
boolean |
isReadOnly(ELContext context) |
void |
readExternal(java.io.ObjectInput in) |
void |
setValue(ELContext context,
java.lang.Object value) |
void |
writeExternal(java.io.ObjectOutput out) |
getValueReference
public JspValueExpression()
public JspValueExpression(java.lang.String mark, ValueExpression target)
public java.lang.Class<?> getExpectedType()
getExpectedType
in class ValueExpression
public java.lang.Class<?> getType(ELContext context) throws java.lang.NullPointerException, PropertyNotFoundException, ELException
getType
in class ValueExpression
context
- The EL context for this evaluationjava.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 readableELException
- Wraps any exception throw whilst resolving a property or
variablepublic boolean isReadOnly(ELContext context) throws java.lang.NullPointerException, PropertyNotFoundException, ELException
isReadOnly
in class ValueExpression
context
- The EL context for this evaluationtrue
if this expression is read only otherwise
false
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 readableELException
- Wraps any exception throw whilst resolving a property or
variablepublic void setValue(ELContext context, java.lang.Object value) throws java.lang.NullPointerException, PropertyNotFoundException, PropertyNotWritableException, ELException
setValue
in class ValueExpression
context
- The EL context for this evaluationvalue
- The value to set the property to which this value
expression refersjava.lang.NullPointerException
- If the supplied context is null
PropertyNotFoundException
- If a property/variable resolution failed because no match
was foundPropertyNotWritableException
- If a property/variable resolution failed because a match was
found but was not writableELException
- Wraps any exception throw whilst resolving a property or
variablepublic java.lang.Object getValue(ELContext context) throws java.lang.NullPointerException, PropertyNotFoundException, ELException
getValue
in class ValueExpression
context
- The EL context for this evaluationjava.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 readableELException
- Wraps any exception throw whilst resolving a property or
variablepublic boolean equals(java.lang.Object obj)
equals
in class Expression
public int hashCode()
hashCode
in class Expression
public java.lang.String getExpressionString()
getExpressionString
in class Expression
public boolean isLiteralText()
isLiteralText
in class Expression
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.