Results 1 to 2 of 2
  1. #1
    getstarted is offline Member
    Join Date
    Jan 2009
    Rep Power

    Default 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; 01-10-2009 at 01:08 AM.

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Colombo, Sri Lanka
    Blog Entries
    Rep Power

Similar Threads

  1. Encoding Problem
    By GJ! in forum Advanced Java
    Replies: 6
    Last Post: 01-12-2010, 09:09 PM
  2. Encoding string from database
    By marvin_ in forum JDBC
    Replies: 1
    Last Post: 12-04-2008, 09:16 AM
  3. encoding issue in jsp
    By sams11 in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 11-25-2008, 08:55 AM
  4. encoding special characers in jsp
    By nanimtech in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 05-06-2008, 02:22 PM
  5. Some help with encoding...
    By nm123 in forum Networking
    Replies: 0
    Last Post: 04-15-2008, 01:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts