*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlSeparator comp = (HtmlSeparator) component;
if (this._align != null) {
if (this._align.isLiteralText()) {
try {
java.lang.String __align = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._align.getExpressionString(),
java.lang.String.class);
comp.setAlign(__align);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("align", this._align);
}
}
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._lineType != null) {
if (this._lineType.isLiteralText()) {
try {
java.lang.String __lineType = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._lineType.getExpressionString(),
java.lang.String.class);
comp.setLineType(__lineType);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("lineType", this._lineType);
}
}
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);