/** * GENERATED FILE - DO NOT EDIT * */ package org.jboss.seam.ui.taglib; import javax.faces.component.UIComponent ; import javax.faces.convert.Converter ; import org.jboss.seam.ui.util.cdk.UIComponentTagBase ; import java.lang.Object ; import java.lang.String ; import javax.el.ELException; import javax.faces.FacesException; import javax.faces.component.UIComponent; import javax.el.MethodExpression; import javax.faces.el.MethodBinding; import javax.faces.el.ValueBinding; import javax.el.ValueExpression; import org.richfaces.webapp.taglib.MethodBindingMethodExpressionAdaptor; import org.richfaces.webapp.taglib.ValueBindingValueExpressionAdaptor; import org.jboss.seam.ui.component.html.HtmlGraphicImage; public class GraphicImageTag extends org.jboss.seam.ui.util.cdk.UIComponentTagBase { // Fields /* * alt * alt */ private ValueExpression _alt; /** * alt * Setter for alt * @param alt - new value */ public void setAlt( ValueExpression __alt ){ this._alt = __alt; } /* * converter * Id of Converter to be used or reference to a Converter */ private ValueExpression _converter; /** * Id of Converter to be used or reference to a Converter * Setter for converter * @param converter - new value */ public void setConverter( ValueExpression __converter ){ this._converter = __converter; } /* * dir * dir */ private ValueExpression _dir; /** * dir * Setter for dir * @param dir - new value */ public void setDir( ValueExpression __dir ){ this._dir = __dir; } /* * fileName * File name for the generated URL - allows a stable file name and thus browser caching */ private ValueExpression _fileName; /** * File name for the generated URL - allows a stable file name and thus browser caching * Setter for fileName * @param fileName - new value */ public void setFileName( ValueExpression __fileName ){ this._fileName = __fileName; } /* * height * height */ private ValueExpression _height; /** * height * Setter for height * @param height - new value */ public void setHeight( ValueExpression __height ){ this._height = __height; } /* * ismap * ismap */ private ValueExpression _ismap; /** * ismap * Setter for ismap * @param ismap - new value */ public void setIsmap( ValueExpression __ismap ){ this._ismap = __ismap; } /* * lang * lang */ private ValueExpression _lang; /** * lang * Setter for lang * @param lang - new value */ public void setLang( ValueExpression __lang ){ this._lang = __lang; } /* * longdesc * longdesc */ private ValueExpression _longdesc; /** * longdesc * Setter for longdesc * @param longdesc - new value */ public void setLongdesc( ValueExpression __longdesc ){ this._longdesc = __longdesc; } /* * onclick * onclick */ private ValueExpression _onclick; /** * onclick * Setter for onclick * @param onclick - new value */ public void setOnclick( ValueExpression __onclick ){ this._onclick = __onclick; } /* * ondblclick * ondblclick */ private ValueExpression _ondblclick; /** * ondblclick * Setter for ondblclick * @param ondblclick - new value */ public void setOndblclick( ValueExpression __ondblclick ){ this._ondblclick = __ondblclick; } /* * onkeydown * onkeydown */ private ValueExpression _onkeydown; /** * onkeydown * Setter for onkeydown * @param onkeydown - new value */ public void setOnkeydown( ValueExpression __onkeydown ){ this._onkeydown = __onkeydown; } /* * onkeypress * onkeypress */ private ValueExpression _onkeypress; /** * onkeypress * Setter for onkeypress * @param onkeypress - new value */ public void setOnkeypress( ValueExpression __onkeypress ){ this._onkeypress = __onkeypress; } /* * onkeyup * onkeyup */ private ValueExpression _onkeyup; /** * onkeyup * Setter for onkeyup * @param onkeyup - new value */ public void setOnkeyup( ValueExpression __onkeyup ){ this._onkeyup = __onkeyup; } /* * onmousedown * onmousedown */ private ValueExpression _onmousedown; /** * onmousedown * Setter for onmousedown * @param onmousedown - new value */ public void setOnmousedown( ValueExpression __onmousedown ){ this._onmousedown = __onmousedown; } /* * onmousemove * onmousemove */ private ValueExpression _onmousemove; /** * onmousemove * Setter for onmousemove * @param onmousemove - new value */ public void setOnmousemove( ValueExpression __onmousemove ){ this._onmousemove = __onmousemove; } /* * onmouseout * onmouseout */ private ValueExpression _onmouseout; /** * onmouseout * Setter for onmouseout * @param onmouseout - new value */ public void setOnmouseout( ValueExpression __onmouseout ){ this._onmouseout = __onmouseout; } /* * onmouseover * onmouseover */ private ValueExpression _onmouseover; /** * onmouseover * Setter for onmouseover * @param onmouseover - new value */ public void setOnmouseover( ValueExpression __onmouseover ){ this._onmouseover = __onmouseover; } /* * onmouseup * onmouseup */ private ValueExpression _onmouseup; /** * onmouseup * Setter for onmouseup * @param onmouseup - new value */ public void setOnmouseup( ValueExpression __onmouseup ){ this._onmouseup = __onmouseup; } /* * style * CSS style rules to be applied to the component */ private ValueExpression _style; /** * CSS style rules to be applied to the component * Setter for style * @param style - new value */ public void setStyle( ValueExpression __style ){ this._style = __style; } /* * styleClass * Assigns one or more CSS class names to the component. Corresponds to the HTML "class" attribute. */ private ValueExpression _styleClass; /** * Assigns one or more CSS class names to the component. Corresponds to the HTML "class" attribute. * Setter for styleClass * @param styleClass - new value */ public void setStyleClass( ValueExpression __styleClass ){ this._styleClass = __styleClass; } /* * title * title */ private ValueExpression _title; /** * title * Setter for title * @param title - new value */ public void setTitle( ValueExpression __title ){ this._title = __title; } /* * url * url */ private ValueExpression _url; /** * url * Setter for url * @param url - new value */ public void setUrl( ValueExpression __url ){ this._url = __url; } /* * usemap * usemap */ private ValueExpression _usemap; /** * usemap * Setter for usemap * @param usemap - new value */ public void setUsemap( ValueExpression __usemap ){ this._usemap = __usemap; } /* * value * The current value of this component */ private ValueExpression _value; /** * The current value of this component * Setter for value * @param value - new value */ public void setValue( ValueExpression __value ){ this._value = __value; } /* * width * width */ private ValueExpression _width; /** * width * Setter for width * @param width - new value */ public void setWidth( ValueExpression __width ){ this._width = __width; } public void release() { // TODO Auto-generated method stub super.release(); this._alt = null; this._converter = null; this._dir = null; this._fileName = null; this._height = null; this._ismap = null; this._lang = null; this._longdesc = null; this._onclick = null; this._ondblclick = null; this._onkeydown = null; this._onkeypress = null; this._onkeyup = null; this._onmousedown = null; this._onmousemove = null; this._onmouseout = null; this._onmouseover = null; this._onmouseup = null; this._style = null; this._styleClass = null; this._title = null; this._url = null; this._usemap = null; this._value = null; this._width = null; } /* (non-Javadoc) * @see org.ajax4jsf.components.taglib.html.HtmlCommandButtonTagBase#setProperties(javax.faces.component.UIComponent) */ protected void setProperties(UIComponent component) { // TODO Auto-generated method stub super.setProperties(component); HtmlGraphicImage comp = (HtmlGraphicImage) component; if (this._alt != null) { if (this._alt.isLiteralText()) { try { java.lang.String __alt = (java.lang.String) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._alt.getExpressionString(), java.lang.String.class); comp.setAlt(__alt); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("alt", this._alt); } } setConverterProperty(comp, this._converter); if (this._dir != null) { if (this._dir.isLiteralText()) { try { java.lang.String __dir = (java.lang.String) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._dir.getExpressionString(), java.lang.String.class); comp.setDir(__dir); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("dir", this._dir); } } if (this._fileName != null) { if (this._fileName.isLiteralText()) { try { java.lang.String __fileName = (java.lang.String) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._fileName.getExpressionString(), java.lang.String.class); comp.setFileName(__fileName); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("fileName", this._fileName); } } if (this._height != null) { if (this._height.isLiteralText()) { try { java.lang.String __height = (java.lang.String) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._height.getExpressionString(), java.lang.String.class); comp.setHeight(__height); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("height", this._height); } } if (this._ismap != null) { if (this._ismap.isLiteralText()) { try { Boolean __ismap = (Boolean) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._ismap.getExpressionString(), Boolean.class); comp.setIsmap(__ismap.booleanValue()); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("ismap", this._ismap); } } if (this._lang != null) { if (this._lang.isLiteralText()) { try { java.lang.String __lang = (java.lang.String) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._lang.getExpressionString(), java.lang.String.class); comp.setLang(__lang); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("lang", this._lang); } } if (this._longdesc != null) { if (this._longdesc.isLiteralText()) { try { java.lang.String __longdesc = (java.lang.String) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._longdesc.getExpressionString(), java.lang.String.class); comp.setLongdesc(__longdesc); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("longdesc", this._longdesc); } } if (this._onclick != null) { if (this._onclick.isLiteralText()) { try { java.lang.String __onclick = (java.lang.String) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._onclick.getExpressionString(), java.lang.String.class); comp.setOnclick(__onclick); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("onclick", this._onclick); } } if (this._ondblclick != null) { if (this._ondblclick.isLiteralText()) { try { java.lang.String __ondblclick = (java.lang.String) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._ondblclick.getExpressionString(), java.lang.String.class); comp.setOndblclick(__ondblclick); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("ondblclick", this._ondblclick); } } if (this._onkeydown != null) { if (this._onkeydown.isLiteralText()) { try { java.lang.String __onkeydown = (java.lang.String) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._onkeydown.getExpressionString(), java.lang.String.class); comp.setOnkeydown(__onkeydown); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("onkeydown", this._onkeydown); } } if (this._onkeypress != null) { if (this._onkeypress.isLiteralText()) { try { java.lang.String __onkeypress = (java.lang.String) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._onkeypress.getExpressionString(), java.lang.String.class); comp.setOnkeypress(__onkeypress); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("onkeypress", this._onkeypress); } } if (this._onkeyup != null) { if (this._onkeyup.isLiteralText()) { try { java.lang.String __onkeyup = (java.lang.String) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._onkeyup.getExpressionString(), java.lang.String.class); comp.setOnkeyup(__onkeyup); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("onkeyup", this._onkeyup); } } if (this._onmousedown != null) { if (this._onmousedown.isLiteralText()) { try { java.lang.String __onmousedown = (java.lang.String) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._onmousedown.getExpressionString(), java.lang.String.class); comp.setOnmousedown(__onmousedown); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("onmousedown", this._onmousedown); } } if (this._onmousemove != null) { if (this._onmousemove.isLiteralText()) { try { java.lang.String __onmousemove = (java.lang.String) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._onmousemove.getExpressionString(), java.lang.String.class); comp.setOnmousemove(__onmousemove); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("onmousemove", this._onmousemove); } } if (this._onmouseout != null) { if (this._onmouseout.isLiteralText()) { try { java.lang.String __onmouseout = (java.lang.String) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._onmouseout.getExpressionString(), java.lang.String.class); comp.setOnmouseout(__onmouseout); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("onmouseout", this._onmouseout); } } if (this._onmouseover != null) { if (this._onmouseover.isLiteralText()) { try { java.lang.String __onmouseover = (java.lang.String) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._onmouseover.getExpressionString(), java.lang.String.class); comp.setOnmouseover(__onmouseover); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("onmouseover", this._onmouseover); } } if (this._onmouseup != null) { if (this._onmouseup.isLiteralText()) { try { java.lang.String __onmouseup = (java.lang.String) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._onmouseup.getExpressionString(), java.lang.String.class); comp.setOnmouseup(__onmouseup); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("onmouseup", this._onmouseup); } } if (this._style != null) { if (this._style.isLiteralText()) { try { java.lang.String __style = (java.lang.String) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._style.getExpressionString(), java.lang.String.class); comp.setStyle(__style); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("style", this._style); } } if (this._styleClass != null) { if (this._styleClass.isLiteralText()) { try { java.lang.String __styleClass = (java.lang.String) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._styleClass.getExpressionString(), java.lang.String.class); comp.setStyleClass(__styleClass); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("styleClass", this._styleClass); } } if (this._title != null) { if (this._title.isLiteralText()) { try { java.lang.String __title = (java.lang.String) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._title.getExpressionString(), java.lang.String.class); comp.setTitle(__title); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("title", this._title); } } if (this._url != null) { if (this._url.isLiteralText()) { try { java.lang.String __url = (java.lang.String) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._url.getExpressionString(), java.lang.String.class); comp.setUrl(__url); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("url", this._url); } } if (this._usemap != null) { if (this._usemap.isLiteralText()) { try { java.lang.String __usemap = (java.lang.String) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._usemap.getExpressionString(), java.lang.String.class); comp.setUsemap(__usemap); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("usemap", this._usemap); } } if (this._value != null) { if (this._value.isLiteralText()) { try { java.lang.Object __value = (java.lang.Object) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._value.getExpressionString(), java.lang.Object.class); comp.setValue(__value); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("value", this._value); } } if (this._width != null) { if (this._width.isLiteralText()) { try { java.lang.String __width = (java.lang.String) getFacesContext(). getApplication(). getExpressionFactory(). coerceToType(this._width.getExpressionString(), java.lang.String.class); comp.setWidth(__width); } catch (ELException e) { throw new FacesException(e); } } else { component.setValueExpression("width", this._width); } } } /* (non-Javadoc) * @see javax.faces.webapp.UIComponentTag#getComponentType() */ public String getComponentType() { // TODO Auto-generated method stub return "org.jboss.seam.ui.graphicImage.GraphicImage"; } /* (non-Javadoc) * @see javax.faces.webapp.UIComponentTag#getRendererType() */ public String getRendererType() { return "org.jboss.seam.ui.GraphicImageRenderer"; } }