writer.startElement("input", component);
writer.writeAttribute("type", "checkbox", null);
writer.writeAttribute("value", "true", null);
writer.writeAttribute("checked", checked);
writer.writeNameAttribute(component.getClientId(facesContext));
writer.writeComponentClass();
writer.writeIdAttribute(component.getClientId(facesContext));
writer.writeAttribute("disabled",
ComponentUtil.getBooleanAttribute(component, ATTR_DISABLED));
writer.writeAttribute("title", null, ATTR_TIP);
writer.endElement("input");