Package jakarta.servlet.jsp.el
Class NotFoundELResolver
java.lang.Object
jakarta.el.ELResolver
jakarta.servlet.jsp.el.NotFoundELResolver
The final resolver of the Jakarta Server Pages ELResolver chain. It always
resolves the requested value, returning
null when it does so.- Since:
- JSP 3.1
-
Field Summary
Fields inherited from class jakarta.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCommonPropertyType(ELContext context, Object base) getFeatureDescriptors(ELContext context, Object base) Deprecated, for removal: This API element is subject to removal in a future version.booleanisReadOnly(ELContext context, Object base, Object property) voidMethods inherited from class jakarta.el.ELResolver
convertToType, invoke
-
Constructor Details
-
NotFoundELResolver
public NotFoundELResolver()Default constructor.
-
-
Method Details
-
getValue
Resolves the property and always returns
nullunless the provided context contains a Boolean object with valueBoolean.TRUEas the value associated with the keyjakarta.servlet.jsp.el.NotFoundELResolver.classin which case an exception is thrown. This is to support implementation of theerrorOnELNotFoundpage/tag directive.- Specified by:
getValuein classELResolver- Returns:
- Always
null - Throws:
PropertyNotFoundException- if the provided context contains a Boolean object with valueBoolean.TRUEas the value associated with the keyjakarta.servlet.jsp.el.NotFoundELResolver.class
-
getType
In normal usage,
ScopedAttributeELResolverwill have responded.- Specified by:
getTypein classELResolver- Returns:
- Always
null
-
setValue
No-op. In normal usage,
ScopedAttributeELResolverwill have responded.- Specified by:
setValuein classELResolver
-
isReadOnly
In normal usage,
ScopedAttributeELResolverwill have responded.- Specified by:
isReadOnlyin classELResolver- Returns:
- Always
false
-
getFeatureDescriptors
@Deprecated(forRemoval=true, since="JSP 3.1") public Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context, Object base) Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getFeatureDescriptorsin classELResolver
-
getCommonPropertyType
In normal usage,
ScopedAttributeELResolverwill have responded.- Specified by:
getCommonPropertyTypein classELResolver- Returns:
- Always
null
-