chaining serializer calls
Aleksander Slominski <[email protected]>
| Newsgroups | gmane.text.xml.xmlpull.devel |
|---|---|
| Message-ID | <[email protected]> |
hi,
when i was using XmlSerializer i have realized it would be very handy to
be able to chain serialization calls by returning this XmlSerializer instance
from all void serialization calls, ex:
ser.startTag("", "foo");
ser.text("test");
ser.endTag("", "foo");
would could be written as:
ser.startTag("", "foo").text("test").endTag("", "foo");
what do you think about it?
thanks,
alek