java.lang.Object
jakarta.el.ELResolver
jakarta.servlet.jsp.el.NotFoundELResolver
Defines variable resolution when all other resolvers fail.
- Since:
- JSP 3.1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCommonPropertyType
(ELContext context, Object base) Always returnsnull
since in normal usageScopedAttributeELResolver
will handle calls toELResolver.getCommonPropertyType(ELContext, Object)
.Always returnsnull
since in normal usageScopedAttributeELResolver
will handle calls toELResolver.getType(ELContext, Object, Object)
.Always returnsnull
since in normal usageScopedAttributeELResolver
will handle calls toELResolver.getValue(ELContext, Object, Object)
.boolean
isReadOnly
(ELContext context, Object base, Object property) Always returnsfalse
since in normal usageScopedAttributeELResolver
will handle calls toELResolver.isReadOnly(ELContext, Object, Object)
.void
Always a NO-OP since in normal usageScopedAttributeELResolver
will handle calls toELResolver.setValue(ELContext, Object, Object, Object)
.Methods inherited from class jakarta.el.ELResolver
convertToType, invoke
-
Constructor Details
-
NotFoundELResolver
public NotFoundELResolver()
-
-
Method Details
-
getValue
Always returnsnull
since in normal usageScopedAttributeELResolver
will handle calls toELResolver.getValue(ELContext, Object, Object)
.The
propertyResolved
property of theELContext
object is always set totrue
by this resolver before returning.- Specified by:
getValue
in classELResolver
- Parameters:
context
- The context of this evaluation.base
- Ignoredproperty
- Ignored- Returns:
- Always
null
- Throws:
NullPointerException
- if context isnull
PropertyNotFoundException
- If the provided context contains a Boolean object with valueBoolean.TRUE
as the value associated with the keyjakarta.servlet.jsp.el.NotFoundELResolver.class
. This is to support implementation of theerrorOnELNotFound
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.
-
getType
Always returnsnull
since in normal usageScopedAttributeELResolver
will handle calls toELResolver.getType(ELContext, Object, Object)
.- Specified by:
getType
in classELResolver
- Parameters:
context
- The context of this evaluation.base
- Ignoredproperty
- Ignored- Returns:
- Always
null
- Throws:
NullPointerException
- if context isnull
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.
-
setValue
Always a NO-OP since in normal usageScopedAttributeELResolver
will handle calls toELResolver.setValue(ELContext, Object, Object, Object)
.- Specified by:
setValue
in classELResolver
- Parameters:
context
- The context of this evaluation.base
- Ignoredproperty
- Ignoredval
- Ignored- Throws:
NullPointerException
- if context isnull
.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.
-
isReadOnly
Always returnsfalse
since in normal usageScopedAttributeELResolver
will handle calls toELResolver.isReadOnly(ELContext, Object, Object)
.- Specified by:
isReadOnly
in classELResolver
- Parameters:
context
- The context of this evaluation.base
- Ignoredproperty
- Ignored- Returns:
- Always
false
- Throws:
NullPointerException
- if context isnull
.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.
-
getCommonPropertyType
Always returnsnull
since in normal usageScopedAttributeELResolver
will handle calls toELResolver.getCommonPropertyType(ELContext, Object)
.- Specified by:
getCommonPropertyType
in classELResolver
- Parameters:
context
- Ignoredbase
- Ignored- Returns:
- Always
null
-