protected void encodeEnd(IComponentWriter writer) throws WriterException {
public void encodeEnd(FacesContext context, UIComponent component) throws IOException {  IRenderContext renderContext = getRenderContext(context);  IComponentWriter writer = renderContext.getComponentWriter(context);  renderContext.encodeEnd(context, component); try { encodeEnd(writer);  } catch (RuntimeException e) { throw new WriterException("RuntimeException", e, component); }  writer.flush();  super.encodeEnd(context, component);  renderContext.popComponent(component);
    protected void encodeEnd(IComponentWriter writer) throws WriterException {    }