code: public void endInsert() throws IOException {
          ResponseWriter writer = getWrapped();
          writer.endCDATA();
          if (inInsertBefore) {
              writer.endElement("before");
              inInsertBefore = false;
          } else if (inInsertAfter) {
              writer.endElement("after");
              inInsertAfter = false;
          }
          writer.endElement("insert");
      }
docs: <p class="changed_added_2_0">Write the end of an insert operation.</p>
  
  @throws IOException if an input/output error occurs
  @since 2.0