You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by jason bailey <jb...@aol.net> on 2004/04/29 14:34:19 UTC

question about XmlWriter

I was curious as to why, in the XmlWriter, there was a decision to use
the method writeObject(Object obj) and then go through a series of tests
to determine the type of object passed.

Rather then just overloading the method.

so that it would be something like;

writeObject(Boolean bool){...}
writeObject(Integer i){...}
writeObject(Map map){...}

etc.

thanks

Jason