code: @Deprecated
      public void text(Writer out, char c) throws InvalidXMLException, IOException {
          if (c >= 63 && c <= 127 || c >= 39 && c <= 59 || c >= 32 && c <= 37 || c == 38 || c > 127 && !_sevenBitEncoding || c == 10 || c == 13 || c == 61 || c == 9) {
              out.write(c);
          } else {
              if (c == 60) {
                  out.write(ESC_LESS_THAN, 0, 4);
              } else if (c == 62) {
                  out.write(ESC_GREATER_THAN, 0, 4);
              } else if (c > 127) {
                  out.write(AMPERSAND_HASH, 0, 2);
                  out.write(Integer.toString(c));
                  out.write(';');
              } else {
                  throw new InvalidXMLException("The character 0x" + Integer.toHexString(c) + " is not valid.");
              }
          }
      }
docs: Writes the specified character. If the character is non-printable in
  this encoding, then it will be escaped.
  <p />
  It is safe for this method to assume that the specified character does not need to be escaped
  unless the encoding does not support the character.
  
  @param out the character stream to write to, not <code>null</code>.
  @param c   the character to be written.
  @throws InvalidXMLException if the specified text contains an invalid character.
  @throws IOException         if an I/O error occurs.
  @deprecated Deprecated since XMLenc 0.51. Use the text method
  {@link #text(Writer, char, boolean)} instead.