protected void writeChars(CharSequence s) throws IOException {
private final void writeChars(CharSequence s) throws IOException {
	protected void writeChars(CharSequence s) throws IOException {		char ch;		for (int i = 0; i < s.length(); i++) {			ch = s.charAt(i);			switch (ch) {				case '<' :					writer.write("&lt;");					break;				case '>' :					writer.write("&gt;");					break;				case '&' :					writer.write("&amp;");					break;				case '\r' :					writer.write("&#xD;");					break;				default :					if (charSet.inCharacterSet(ch))						writer.write(ch);					else						writeCharacterReference(ch);					break;			}		}	}