{
if (!(component instanceof HtmlOutputLabel))
{
throw new IllegalArgumentException("Component " + component.getClass().getName() + " is no HtmlOutputLabel");
}
HtmlOutputLabel comp = (HtmlOutputLabel)component;
super.setProperties(component);
if (_for != null)
{
comp.setValueExpression("for", _for);
}
if (_onfocus != null)
{
comp.setValueExpression("onfocus", _onfocus);
}
if (_accesskey != null)
{
comp.setValueExpression("accesskey", _accesskey);
}
if (_style != null)
{
comp.setValueExpression("style", _style);
}
if (_escape != null)
{
comp.setValueExpression("escape", _escape);
}
if (_onclick != null)
{
comp.setValueExpression("onclick", _onclick);
}
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 (_onmouseup != null)
{
comp.setValueExpression("onmouseup", _onmouseup);
}
if (_onblur != null)
{
comp.setValueExpression("onblur", _onblur);
}
if (_tabindex != null)
{
comp.setValueExpression("tabindex", _tabindex);
}
if (_ondblclick != null)
{
comp.setValueExpression("ondblclick", _ondblclick);
}
if (_onkeyup != null)
{
comp.setValueExpression("onkeyup", _onkeyup);
}
if (_onkeypress != null)
{
comp.setValueExpression("onkeypress", _onkeypress);
}
if (_onkeydown != null)
{
comp.setValueExpression("onkeydown", _onkeydown);
}
if (_onmouseout != null)
{
comp.setValueExpression("onmouseout", _onmouseout);
}
if (_onmousemove != null)
{
comp.setValueExpression("onmousemove", _onmousemove);
}
if (_title != null)
{
comp.setValueExpression("title", _title);
}
if (_onmouseover != null)
{
comp.setValueExpression("onmouseover", _onmouseover);
}
if (_lang != null)
{
comp.setValueExpression("lang", _lang);
}
if (_styleClass != null)
{
comp.setValueExpression("styleClass", _styleClass);
}
if (_dir != null)
{
comp.setValueExpression("dir", _dir);
}
if (_onmousedown != null)
{
comp.setValueExpression("onmousedown", _onmousedown);
}
if (_value != null)
{
comp.setValueExpression("value", _value);
}
}