Allow chained method calls.
Brought to you by:
znerd
Similar to StringBuffer, for example:
XMLOutputter out = ...
.
.
.
out.startTag("tr");
out.startTag("td").pcdata(mydata[row][col++]).endTag();
out.startTag("td").pcdata(mydata[row][col++]).endTag();
out.startTag("td").pcdata(mydata[row][col++]).endTag();
out.endTag();
this should just need the methods altering to return
"this", if you would be happy to alter the API in this
was then I have no objection to doing the work and
sending you a patch. Let me know.
Oh, almost forgot: happy new year!
Cheers,
Ian.