Skip to main content

[el-spec issues] [JIRA] Created: (EL_SPEC-13) TypeConverter API documentation does not match impl.

  • From: "dougd (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [el-spec issues] [JIRA] Created: (EL_SPEC-13) TypeConverter API documentation does not match impl.
  • Date: Thu, 6 Jun 2013 18:46:17 +0000 (UTC)
  • Auto-submitted: auto-generated

TypeConverter API documentation does not match impl.
----------------------------------------------------

                 Key: EL_SPEC-13
                 URL: https://java.net/jira/browse/EL_SPEC-13
             Project: el-spec
          Issue Type: Bug
         Environment: N/A
            Reporter: dougd


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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[el-spec issues] [JIRA] Created: (EL_SPEC-13) TypeConverter API documentation does not match impl.

dougd (JIRA) 06/06/2013
 
 
Close
loading
Please Confirm
Close