/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;targetType)</pre>
<div class="block">Converts an object to a specific type.

 <p>
 An <code>ELException</code> is thrown if an error occurs during the conversion.
 </p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../jakarta/el/ELResolver.html#convertToType-jakarta.el.ELContext-java.lang.Object-java.lang.Class-">convertToType</a></code>&nbsp;in class&nbsp;