{
if (!(component instanceof HtmlOutputLink))
{
throw new IllegalArgumentException("Component " + component.getClass().getName() + " is no HtmlOutputLink");
}
HtmlOutputLink comp = (HtmlOutputLink)component;
super.setProperties(component);
if (_dir != null)
{
comp.setValueExpression("dir", _dir);
}
if (_style != null)
{
comp.setValueExpression("style", _style);
}
if (_onmouseout != null)
{
comp.setValueExpression("onmouseout", _onmouseout);
}
if (_onmouseover != null)
{
comp.setValueExpression("onmouseover", _onmouseover);
}
if (_onkeyup != null)
{
comp.setValueExpression("onkeyup", _onkeyup);
}
if (_onmousedown != null)
{
comp.setValueExpression("onmousedown", _onmousedown);
}
if (_coords != null)
{
comp.setValueExpression("coords", _coords);
}
if (_lang != null)
{
comp.setValueExpression("lang", _lang);
}
if (_onclick != null)
{
comp.setValueExpression("onclick", _onclick);
}
if (_ondblclick != null)
{
comp.setValueExpression("ondblclick", _ondblclick);
}
if (_onkeydown != null)
{
comp.setValueExpression("onkeydown", _onkeydown);
}
if (_onmousemove != null)
{
comp.setValueExpression("onmousemove", _onmousemove);
}
if (_onfocus != null)
{
comp.setValueExpression("onfocus", _onfocus);
}
if (_accesskey != null)
{
comp.setValueExpression("accesskey", _accesskey);
}
if (_onblur != null)
{
comp.setValueExpression("onblur", _onblur);
}
if (_hreflang != null)
{
comp.setValueExpression("hreflang", _hreflang);
}
if (_onmouseup != null)
{
comp.setValueExpression("onmouseup", _onmouseup);
}
if (_shape != null)
{
comp.setValueExpression("shape", _shape);
}
if (_title != null)
{
comp.setValueExpression("title", _title);
}
if (_disabled != null)
{
comp.setValueExpression("disabled", _disabled);
}
if (_converter != null)
{
if (!_converter.isLiteralText())
{
comp.setValueExpression("converter", _converter);
}
else
{
String s = _converter.getExpressionString();
if (s != null)
{
Converter converter = getFacesContext().getApplication().
createConverter(s);
comp.setConverter(converter);
}
}
}
if (_target != null)
{
comp.setValueExpression("target", _target);
}
if (_charset != null)
{
comp.setValueExpression("charset", _charset);
}
if (_type != null)
{
comp.setValueExpression("type", _type);
}
if (_rev != null)
{
comp.setValueExpression("rev", _rev);
}
if (_styleClass != null)
{
comp.setValueExpression("styleClass", _styleClass);
}
if (_tabindex != null)
{
comp.setValueExpression("tabindex", _tabindex);
}
if (_onkeypress != null)
{
comp.setValueExpression("onkeypress", _onkeypress);
}
if (_value != null)
{
comp.setValueExpression("value", _value);
}
if (_rel != null)
{
comp.setValueExpression("rel", _rel);
}
}