public class NotFoundELResolver
extends ELResolver
Constructor and Description |
---|
NotFoundELResolver() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<java.lang.String> |
getCommonPropertyType(ELContext context,
java.lang.Object base)
Always returns
null since in normal usage ScopedAttributeELResolver will handle calls to
ELResolver#getCommonPropertyType(ELContext, Object) . |
java.lang.Class<java.lang.Object> |
getType(ELContext context,
java.lang.Object base,
java.lang.Object property)
Always returns
null since in normal usage ScopedAttributeELResolver will handle calls to
ELResolver#getType(ELContext, Object, Object) . |
java.lang.Object |
getValue(ELContext context,
java.lang.Object base,
java.lang.Object property)
Always returns
null since in normal usage ScopedAttributeELResolver will handle calls to
ELResolver#getValue(ELContext, Object, Object) . |
boolean |
isReadOnly(ELContext context,
java.lang.Object base,
java.lang.Object property)
Always returns
false since in normal usage ScopedAttributeELResolver will handle calls to
ELResolver#isReadOnly(ELContext, Object, Object) . |
void |
setValue(ELContext context,
java.lang.Object base,
java.lang.Object property,
java.lang.Object val)
Always a NO-OP since in normal usage
ScopedAttributeELResolver will handle calls to
ELResolver#setValue(ELContext, Object, Object, Object) . |
public java.lang.Object getValue(ELContext context, java.lang.Object base, java.lang.Object property)
null
since in normal usage ScopedAttributeELResolver
will handle calls to
ELResolver#getValue(ELContext, Object, Object)
.
The propertyResolved
property of the ELContext
object is always set to true
by this resolver before returning.
context
- The context of this evaluation.base
- Ignoredproperty
- Ignorednull
java.lang.NullPointerException
- if context is null
PropertyNotFoundException
- If the provided context contains a Boolean object with value Boolean.TRUE
as
the value associated with the key
jakarta.servlet.jsp.el.NotFoundELResolver.class
. This is to support
implementation of the errorOnELNotFound
page/tag directive.ELException
- if an exception was thrown while performing the property or variable resolution. The
thrown exception must be included as the cause property of this exception, if
available.public java.lang.Class<java.lang.Object> getType(ELContext context, java.lang.Object base, java.lang.Object property)
null
since in normal usage ScopedAttributeELResolver
will handle calls to
ELResolver#getType(ELContext, Object, Object)
.context
- The context of this evaluation.base
- Ignoredproperty
- Ignorednull
java.lang.NullPointerException
- if context is null
ELException
- if an exception was thrown while performing the property or variable resolution. The
thrown exception must be included as the cause property of this exception, if
available.public void setValue(ELContext context, java.lang.Object base, java.lang.Object property, java.lang.Object val)
ScopedAttributeELResolver
will handle calls to
ELResolver#setValue(ELContext, Object, Object, Object)
.context
- The context of this evaluation.base
- Ignoredproperty
- Ignoredval
- Ignoredjava.lang.NullPointerException
- if context is null
.ELException
- if an exception was thrown while performing the property or variable resolution. The
thrown exception must be included as the cause property of this exception, if
available.public boolean isReadOnly(ELContext context, java.lang.Object base, java.lang.Object property)
false
since in normal usage ScopedAttributeELResolver
will handle calls to
ELResolver#isReadOnly(ELContext, Object, Object)
.context
- The context of this evaluation.base
- Ignoredproperty
- Ignoredfalse
java.lang.NullPointerException
- if context is null
.ELException
- if an exception was thrown while performing the property or variable resolution. The
thrown exception must be included as the cause property of this exception, if
available.public java.lang.Class<java.lang.String> getCommonPropertyType(ELContext context, java.lang.Object base)
null
since in normal usage ScopedAttributeELResolver
will handle calls to
ELResolver#getCommonPropertyType(ELContext, Object)
.context
- Ignoredbase
- Ignorednull