ImplicitObjectELResolver (Apache Tomcat 7.0.103 API Documentation)

javax.servlet.jsp.el

## Class ImplicitObjectELResolver

- java.lang.Object
- - javax.el.ELResolver
  - - javax.servlet.jsp.el.ImplicitObjectELResolver

-     public class ImplicitObjectELResolver
      extends ELResolver

  Since:
    2.1

- - ### Field Summary

    - ### Fields inherited from class javax.el.ELResolver

      `RESOLVABLE_AT_DESIGN_TIME, TYPE`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ImplicitObjectELResolver()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Class<String>` | `getCommonPropertyType(ELContext context, Object base)`
    `Iterator<FeatureDescriptor>` | `getFeatureDescriptors(ELContext context, Object base)`
    `Class` | `getType(ELContext context, Object base, Object property)`
    `Object` | `getValue(ELContext context, Object base, Object property)`
    `boolean` | `isReadOnly(ELContext context, Object base, Object property)`
    `void` | `setValue(ELContext context, Object base, Object property, Object value)`

    - ### Methods inherited from class javax.el.ELResolver

      `invoke`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ImplicitObjectELResolver

          public ImplicitObjectELResolver()

  - ### Method Detail

    - #### getValue

          public Object getValue(ELContext context,
                        Object base,
                        Object property)
                          throws NullPointerException,
                                 PropertyNotFoundException,
                                 ELException

      Specified by:
        `getValue` in class `ELResolver`
      Parameters:
        `context` - The EL context for this evaluation
        `base` - The base object on which the property is to be found
        `property` - The property whose value is to be returned
      Returns:
        the value of the provided property
      Throws:
        `NullPointerException` - If the supplied context is `null`
        `PropertyNotFoundException` - If the base/property combination provided to the resolver is one that the resolver can handle but no match was found or a match was found but was not readable
        `ELException` - Wraps any exception throw whilst resolving the property

    - #### getType

          public Class getType(ELContext context,
                      Object base,
                      Object property)
                        throws NullPointerException,
                               PropertyNotFoundException,
                               ELException

      Specified by:
        `getType` in class `ELResolver`
      Parameters:
        `context` - The EL context for this evaluation
        `base` - The base object on which the property is to be found
        `property` - The property whose type is to be returned
      Returns:
        the type of the provided property
      Throws:
        `NullPointerException` - If the supplied context is `null`
        `PropertyNotFoundException` - If the base/property combination provided to the resolver is one that the resolver can handle but no match was found or a match was found but was not readable
        `ELException` - Wraps any exception throw whilst resolving the property

    - #### setValue

          public void setValue(ELContext context,
                      Object base,
                      Object property,
                      Object value)
                        throws NullPointerException,
                               PropertyNotFoundException,
                               PropertyNotWritableException,
                               ELException

      Specified by:
        `setValue` in class `ELResolver`
      Parameters:
        `context` - The EL context for this evaluation
        `base` - The base object on which the property is to be found
        `property` - The property whose value is to be set
        `value` - The value to set the property to
      Throws:
        `NullPointerException` - If the supplied context is `null`
        `PropertyNotFoundException` - If the base/property combination provided to the resolver is one that the resolver can handle but no match was found
        `PropertyNotWritableException` - If the base/property combination provided to the resolver is one that the resolver can handle but the property was not writable
        `ELException` - Wraps any exception throw whilst resolving the property

    - #### isReadOnly

          public boolean isReadOnly(ELContext context,
                           Object base,
                           Object property)
                             throws NullPointerException,
                                    PropertyNotFoundException,
                                    ELException

      Specified by:
        `isReadOnly` in class `ELResolver`
      Parameters:
        `context` - The EL context for this evaluation
        `base` - The base object on which the property is to be found
        `property` - The property to be checked for read only status
      Returns:
        `true` if the identified property is read only, otherwise `false`
      Throws:
        `NullPointerException` - If the supplied context is `null`
        `PropertyNotFoundException` - If the base/property combination provided to the resolver is one that the resolver can handle but no match was found
        `ELException` - Wraps any exception throw whilst resolving the property

    - #### getFeatureDescriptors

          public Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context,
                                                          Object base)

      Specified by:
        `getFeatureDescriptors` in class `ELResolver`

    - #### getCommonPropertyType

          public Class<String> getCommonPropertyType(ELContext context,
                                            Object base)

      Specified by:
        `getCommonPropertyType` in class `ELResolver`

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.