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