el-spec
  1. el-spec
  2. EL_SPEC-13

TypeConverter API documentation does not match impl.

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:

      N/A

      Description

      According to the API documentation all the methods except for "convertToType" are and say exactly what the ELRosolver would do. But the Imp for any of these methods(listed below) do nothing or return null. the

      getCommonPropertyType
      getFeatureDescriptors
      getType
      getValue
      isReadOnly
      setValue

      Example:

      From the src for getValue

      @Override
      public Object getValue(ELContext context,
      Object base,
      Object property)

      { return null; }

      This is what the Javadoc says

      public Object getValue(ELContext context,
      Object base,
      Object property)
      Description copied from class: ELResolver
      Attempts to resolve the given property object on the given base object.
      If this resolver handles the given (base, property) pair, the propertyResolved property of the ELContext object must be set to true by the resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value.

      Specified by:
      getValue in class ELResolver
      Parameters:
      context - The context of this evaluation.
      base - The base object whose property value is to be returned, or null to resolve a top-level variable.
      property - The property or variable to be resolved.
      Returns:
      If the propertyResolved property of ELContext was set to true, then the result of the variable or property resolution; otherwise undefined.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            dougd
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: