Details
Description
I'd like to propose the three following methods to be added to IMarkupWriter:
public void attribute(String name, String value, boolean raw);
public void print(char[] data, int offset, int length, boolean raw);
public void print(String value, boolean raw);
Each method would simply invoke <method>(...) or <method>Raw(...) respectively
depending on the raw parameter.
All changes are backwards-compatible, unless someone has chosen to implement
IMarkupWriter from scratch. This is unlikely, though.
The attached zip file contains patches for IMarkupWriter, AbstractMarkupWriter,
and NullWriter.