Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.2
    • Component/s: None
    • Labels:
      None

      Description

      Attached to this issue you'll find the BeanConverter I've coded
      along the lines of the ReflectionConverter. bean.zip containes classes
      that should go in com.thoughtworks.xstream.converters, whilst beanTest
      contains the correspondent unit tests.

      The BeanConverter will accept every class with a default construtor
      and marshal/unmarshal every simple property that has both a getter and
      a setter. Since it works exclusively on public methods, it should work without problems in applets too.

      During the coding I've removed the management of implicit collections,
      since I don't need it and it made things more complicated.

      Since the bean converter accepts every class with a default construtor, it's better to make it the default converter.

        People

        • Assignee:
          Mauro Talevi
          Reporter:
          Andrea Aime
        • Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: