}
@Override
public void encodeEnd(FacesContext facesContext, UIComponent component) throws IOException {
ResponseWriter responseWriter = facesContext.getResponseWriter();
responseWriter.endElement("tree");
}
@Override
public void encodeChildren(FacesContext facesContext, UIComponent uiComponent) throws IOException {
List<UIComponent> components = uiComponent.getChildren();