public void encodeBegin(FacesContext facesContext, UIComponent component) throws IOException {
super.encodeBegin(facesContext, component);
ResponseWriter responseWriter = facesContext.getResponseWriter();
responseWriter.startElement("listhead", component);
responseWriter.writeAttribute("id", component.getClientId(facesContext), "id");
renderAttributes(facesContext,component,(List) component.getAttributes().get("annotatedAttributes"));
}
public void encodeEnd(FacesContext facesContext, UIComponent component) throws IOException {
ResponseWriter responseWriter = facesContext.getResponseWriter();