Package jakarta.servlet.jsp.el
Class NotFoundELResolver
- java.lang.Object
- 
- jakarta.el.ELResolver
- 
- jakarta.servlet.jsp.el.NotFoundELResolver
 
 
- 
 public class NotFoundELResolver extends ELResolver Defines variable resolution when all other resolvers fail.- Since:
- JSP 3.1
 
- 
- 
Field Summary- 
Fields inherited from class jakarta.el.ELResolverRESOLVABLE_AT_DESIGN_TIME, TYPE
 
- 
 - 
Constructor SummaryConstructors Constructor Description NotFoundELResolver()
 - 
Method Summary- 
Methods inherited from class jakarta.el.ELResolverconvertToType, getFeatureDescriptors, invoke
 
- 
 
- 
- 
- 
Method Detail- 
getValuepublic Object getValue(ELContext context, Object base, Object property) Always returnsnullsince in normal usageScopedAttributeELResolverwill handle calls toELResolver.getValue(ELContext, Object, Object).The propertyResolvedproperty of theELContextobject is always set totrueby this resolver before returning.- Specified by:
- getValuein class- ELResolver
- Parameters:
- context- The context of this evaluation.
- base- Ignored
- property- Ignored
- Returns:
- Always null
- Throws:
- NullPointerException- if context is- null
- PropertyNotFoundException- If the provided context contains a Boolean object with value- Boolean.TRUEas the value associated with the key- jakarta.servlet.jsp.el.NotFoundELResolver.class. This is to support implementation of the- errorOnELNotFoundpage/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.
 
 - 
getTypepublic Class<Object> getType(ELContext context, Object base, Object property) Always returnsnullsince in normal usageScopedAttributeELResolverwill handle calls toELResolver.getType(ELContext, Object, Object).- Specified by:
- getTypein class- ELResolver
- Parameters:
- context- The context of this evaluation.
- base- Ignored
- property- Ignored
- Returns:
- Always null
- Throws:
- 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.
 
 - 
setValuepublic void setValue(ELContext context, Object base, Object property, Object val) Always a NO-OP since in normal usageScopedAttributeELResolverwill handle calls toELResolver.setValue(ELContext, Object, Object, Object).- Specified by:
- setValuein class- ELResolver
- Parameters:
- context- The context of this evaluation.
- base- Ignored
- property- Ignored
- val- Ignored
- Throws:
- 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.
 
 - 
isReadOnlypublic boolean isReadOnly(ELContext context, Object base, Object property) Always returnsfalsesince in normal usageScopedAttributeELResolverwill handle calls toELResolver.isReadOnly(ELContext, Object, Object).- Specified by:
- isReadOnlyin class- ELResolver
- Parameters:
- context- The context of this evaluation.
- base- Ignored
- property- Ignored
- Returns:
- Always false
- Throws:
- 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.
 
 - 
getCommonPropertyTypepublic Class<String> getCommonPropertyType(ELContext context, Object base) Always returnsnullsince in normal usageScopedAttributeELResolverwill handle calls toELResolver.getCommonPropertyType(ELContext, Object).- Specified by:
- getCommonPropertyTypein class- ELResolver
- Parameters:
- context- Ignored
- base- Ignored
- Returns:
- Always null
 
 
- 
 
-