}
@Override
protected void setProperties(final UIComponent uiComponent) {
super.setProperties(uiComponent);
final UILabel component = (UILabel) uiComponent;
final FacesContext context = FacesContext.getCurrentInstance();
final Application application = context.getApplication();
if (markup != null) {
if (!markup.isLiteralText()) {
component.setValueExpression("markup", markup);
} else {
component.setMarkup(org.apache.myfaces.tobago.context.Markup.valueOf(markup.getExpressionString()));
}
}
if (accessKey != null) {
if (!accessKey.isLiteralText()) {
component.setValueExpression("accessKey", accessKey);
} else {
component.setAccessKey(accessKey.getExpressionString().charAt(0));
}
}
if (forComponent != null) {
component.setFor(forComponent);
}
if (tip != null) {
component.setValueExpression("tip", tip);
}
if (value != null) {
component.setValueExpression("value", value);
}
}