- java.lang.Object
-
- jakarta.el.ELResolver
-
- jakarta.servlet.jsp.el.NotFoundELResolver
-
public class NotFoundELResolver extends jakarta.el.ELResolverDefines variable resolution when all other resolvers fail.- Since:
- JSP 3.1
-
-
Constructor Summary
Constructors Constructor Description NotFoundELResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<String>getCommonPropertyType(jakarta.el.ELContext context, Object base)Always returnsnullsince in normal usageScopedAttributeELResolverwill handle calls toELResolver.getCommonPropertyType(ELContext, Object).Class<Object>getType(jakarta.el.ELContext context, Object base, Object property)Always returnsnullsince in normal usageScopedAttributeELResolverwill handle calls toELResolver.getType(ELContext, Object, Object).ObjectgetValue(jakarta.el.ELContext context, Object base, Object property)Always returnsnullsince in normal usageScopedAttributeELResolverwill handle calls toELResolver.getValue(ELContext, Object, Object).booleanisReadOnly(jakarta.el.ELContext context, Object base, Object property)Always returnsfalsesince in normal usageScopedAttributeELResolverwill handle calls toELResolver.isReadOnly(ELContext, Object, Object).voidsetValue(jakarta.el.ELContext context, Object base, Object property, Object val)Always a NO-OP since in normal usageScopedAttributeELResolverwill handle calls toELResolver.setValue(ELContext, Object, Object, Object).
-
-
-
Method Detail
-
getValue
public Object getValue(jakarta.el.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 classjakarta.el.ELResolver- Parameters:
context- The context of this evaluation.base- Ignoredproperty- Ignored- Returns:
- Always
null - Throws:
NullPointerException- if context isnulljakarta.el.PropertyNotFoundException- If the provided context contains a Boolean object with valueBoolean.TRUEas the value associated with the keyjakarta.servlet.jsp.el.NotFoundELResolver.class. This is to support implementation of theerrorOnELNotFoundpage/tag directive.jakarta.el.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
public Class<Object> getType(jakarta.el.ELContext context, Object base, Object property)
Always returnsnullsince in normal usageScopedAttributeELResolverwill handle calls toELResolver.getType(ELContext, Object, Object).- Specified by:
getTypein classjakarta.el.ELResolver- Parameters:
context- The context of this evaluation.base- Ignoredproperty- Ignored- Returns:
- Always
null - Throws:
NullPointerException- if context isnulljakarta.el.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
public void setValue(jakarta.el.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 classjakarta.el.ELResolver- Parameters:
context- The context of this evaluation.base- Ignoredproperty- Ignoredval- Ignored- Throws:
NullPointerException- if context isnull.jakarta.el.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
public boolean isReadOnly(jakarta.el.ELContext context, Object base, Object property)Always returnsfalsesince in normal usageScopedAttributeELResolverwill handle calls toELResolver.isReadOnly(ELContext, Object, Object).- Specified by:
isReadOnlyin classjakarta.el.ELResolver- Parameters:
context- The context of this evaluation.base- Ignoredproperty- Ignored- Returns:
- Always
false - Throws:
NullPointerException- if context isnull.jakarta.el.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
public Class<String> getCommonPropertyType(jakarta.el.ELContext context, Object base)
Always returnsnullsince in normal usageScopedAttributeELResolverwill handle calls toELResolver.getCommonPropertyType(ELContext, Object).- Specified by:
getCommonPropertyTypein classjakarta.el.ELResolver- Parameters:
context- Ignoredbase- Ignored- Returns:
- Always
null
-
-