*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlTransformImageType comp = (HtmlTransformImageType) component;
if (this._contentType != null) {
if (this._contentType.isLiteralText()) {
try {
java.lang.String __contentType = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._contentType.getExpressionString(),
java.lang.String.class);
comp.setContentType(__contentType);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("contentType", this._contentType);