docs: public final static void appendCode(final StringBuilder out, final String in, final int start, final int end)
      {
          for (int i = start; i < end; i++)
          {
              final char c;
              switch (c = in.charAt(i))
              {
              case '&':
                  out.append("&amp;");
                  break;
              case '<':
                  out.append("&lt;");
                  break;
              case '>':
                  out.append("&gt;");
                  break;
              default:
                  out.append(c);
                  break;
              }
          }
      }