public void encodeEnd(FacesContext facesContext, UIComponent component)
throws IOException {
super.encodeEnd(facesContext, component);
ResponseWriter responseWriter = facesContext.getResponseWriter();
if (component instanceof VerticalBoxComponent) {
responseWriter.endElement("vbox");
} else if (component instanceof HorizontalBoxComponent) {
responseWriter.endElement("hbox");
} else if (component instanceof BoxComponent) {
responseWriter.endElement("box");
} else if (component instanceof GroupBoxComponent) {