}
@Override
protected void doEncodeBegin(ResponseWriter writer, FacesContext context, UIComponent component) throws IOException
{
UISpan span = (UISpan) component;
startElement(writer, span);
writer.writeAttribute("id", component.getClientId(context), "id");
if (span.getStyleClass() != null)
{
writer.writeAttribute("class", span.getStyleClass(), "styleClass");
}
if (span.getStyle() != null)
{
writer.writeAttribute("style", span.getStyle(), "style");
}
if (span.getTitle() != null)
{
writer.writeAttribute("title", span.getTitle(), "title");
}
}