code: public static void renderChild(FacesContext fc, UIComponent child) throws IOException {
  		if (!child.isRendered()) {
  			return;
  		}
  
  		child.encodeBegin(fc);
  
  		if (child.getRendersChildren()) {
  			child.encodeChildren(fc);
  		} else {
  			renderChildren(fc, child);
  		}
  		child.encodeEnd(fc);
  	}
docs: Renders the Child of a Component
  
  @param fc
  @param child
  @throws IOException