T
Tomba
Hi,
I hope anyone here has used XMLEncoder sometime. Well I want to write an
object to an XML file with the encoder.
The object is in fact a bean but with several setter and getter methods
defined in superclasses. I have done introspection and it shows all the
properties nicely.
However, I am under the impression that XMLEncoder only writes out the
bean properties with getter and setter methods defined in the class
itself, and not in superclasses.
Is my assumption right? And if so, is there any solution to this
problem, because it's useless to me this way
(
Thanks a lot,
Steven
I hope anyone here has used XMLEncoder sometime. Well I want to write an
object to an XML file with the encoder.
The object is in fact a bean but with several setter and getter methods
defined in superclasses. I have done introspection and it shows all the
properties nicely.
However, I am under the impression that XMLEncoder only writes out the
bean properties with getter and setter methods defined in the class
itself, and not in superclasses.
Is my assumption right? And if so, is there any solution to this
problem, because it's useless to me this way
Thanks a lot,
Steven