TypeConverter API documentation does not match impl.
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.
Environment
N/A
Reported by dougd
This issue was imported from java.net JIRA EL_SPEC-13