Author: markt Date: Wed Jul 3 08:22:24 2013 New Revision: 1499253 URL: http://svn.apache.org/r1499253 Log: EL 3.0 New method
Modified: tomcat/trunk/java/javax/el/ELResolver.java Modified: tomcat/trunk/java/javax/el/ELResolver.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/el/ELResolver.java?rev=1499253&r1=1499252&r2=1499253&view=diff ============================================================================== --- tomcat/trunk/java/javax/el/ELResolver.java (original) +++ tomcat/trunk/java/javax/el/ELResolver.java Wed Jul 3 08:22:24 2013 @@ -77,4 +77,16 @@ public abstract class ELResolver { public abstract Iterator<java.beans.FeatureDescriptor> getFeatureDescriptors(ELContext context, Object base); public abstract Class<?> getCommonPropertyType(ELContext context, Object base); + + /** + * Converts the given object to the given type. This default implementation + * always returns <code>null</code>. + * + * @since EL 3.0 + */ + public Object convertToType(@SuppressWarnings("unused") ELContext context, + @SuppressWarnings("unused") Object obj, + @SuppressWarnings("unused") Class<?> type) { + return null; + } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org