why XMLEncoder is not encoding all public properties?
I have the following properties (both getters and setters are public)
String fieldID = null;
String validationCode = null;
String vaidationMessage = null;
String value = null;
boolean changeIndicator = true;
But when I encode, it is not encoding validationMessage and changeIndicator. I am not directly encoding this object, but this is part other object and I am trying to encode that object.
Edit: These are not being set through constructor.. I have another method which sets 2, 3rd and 4th parameters
Last edited by getstarted; January 9th, 2009 at 05:10 PM.
Re: why XMLEncoder is not encoding all public properties?
Originally Posted by keang
... Or maybe not enough wine
That's the spirit!
We lived for days on nothing but food and water...
W.C. Fields
Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.
Bookmarks