public final class JspValueExpression extends ValueExpression implements Externalizable
Constructor and Description |
---|
JspValueExpression() |
JspValueExpression(String mark,
ValueExpression target) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Class<?> |
getExpectedType() |
String |
getExpressionString() |
Class<?> |
getType(ELContext context) |
Object |
getValue(ELContext context) |
int |
hashCode() |
boolean |
isLiteralText() |
boolean |
isReadOnly(ELContext context) |
void |
readExternal(ObjectInput in) |
void |
setValue(ELContext context,
Object value) |
void |
writeExternal(ObjectOutput out) |
getValueReference
public JspValueExpression()
public JspValueExpression(String mark, ValueExpression target)
public Class<?> getExpectedType()
getExpectedType
in class ValueExpression
public Class<?> getType(ELContext context) throws NullPointerException, PropertyNotFoundException, ELException
getType
in class ValueExpression
context
- The EL context for this evaluationNullPointerException
- 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 NullPointerException, PropertyNotFoundException, ELException
isReadOnly
in class ValueExpression
context
- The EL context for this evaluationtrue
if this expression is read only otherwise
false
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, Object value) throws 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 refersNullPointerException
- 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 Object getValue(ELContext context) throws NullPointerException, PropertyNotFoundException, ELException
getValue
in class ValueExpression
context
- The EL context for this evaluationNullPointerException
- 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(Object obj)
equals
in class Expression
public int hashCode()
hashCode
in class Expression
public String getExpressionString()
getExpressionString
in class Expression
public boolean isLiteralText()
isLiteralText
in class Expression
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.