@Override public void write(char[] cbuf, int off, int len) throws IOException { checkCharacters(cbuf, off, len); out.write(cbuf, off, len); }
@Override public XhtmlValidator append(CharSequence csq, int start, int end) throws IOException { checkCharacters(csq, start, end); out.append(csq, start, end); return this; }
@Override public void write(String str, int off, int len) throws IOException { if(str==null) throw new IllegalArgumentException("str is null"); checkCharacters(str, off, off + len); out.write(str, off, len); }
@Override public XhtmlValidator append(CharSequence csq) throws IOException { checkCharacters(csq, 0, csq.length()); out.append(csq); return this; }