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

Reply via email to