import java.io.IOException;
public class SummaryRenderer extends RendererBase {
@Override
public void encodeBegin(FacesContext context, UIComponent component) throws IOException {
Summary summary = (Summary) component;
ResponseWriter writer = context.getResponseWriter();
writer.startElement("span", summary);
writeIdAttribute(context, summary);
Rendering.writeStyleAndClassAttributes(writer, summary);
Rendering.writeStandardEvents(writer, summary);