Results 1 to 2 of 2
- 01-10-2009, 12:05 AM #1
Member
- Join Date
- Jan 2009
- Posts
- 9
- Rep Power
- 0
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 parametersLast edited by getstarted; 01-10-2009 at 12:08 AM.
- 01-10-2009, 02:43 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
As far I remember there is no such limitation/configuration on XMLEncoder. Did you read about that on Java doc? How did you do that encoding?
Similar Threads
-
Encoding Problem
By GJ! in forum Advanced JavaReplies: 6Last Post: 01-12-2010, 08:09 PM -
Encoding string from database
By marvin_ in forum JDBCReplies: 1Last Post: 12-04-2008, 08:16 AM -
encoding issue in jsp
By sams11 in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 11-25-2008, 07:55 AM -
encoding special characers in jsp
By nanimtech in forum JavaServer Pages (JSP) and JSTLReplies: 3Last Post: 05-06-2008, 01:22 PM -
Some help with encoding...
By nm123 in forum NetworkingReplies: 0Last Post: 04-15-2008, 12:22 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks