XStream
  1. XStream
  2. XSTR-602

BeanProvider public method requires access to a package-private interface

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.1
    • Fix Version/s: 1.4
    • Component/s: Converters
    • Labels:
      None

      Description

      I mentioned this in http://jira.codehaus.org/browse/XSTR-601, but figured it's a separate bug and needs to be tracked separately.

      BeanProvider has a public method:

      public void visitSerializableProperties(Object object, Visitor visitor)

      that, even though it's public, can't be used outside of the package com.thoughtworks.xstream.converters.javabean due to Visitor being a package-private interface.

      This makes it close to impossible to override methods such as JavaBeanConverter.marshall() without completely re-writing them from scratch.

        People

        • Assignee:
          Jörg Schaible
          Reporter:
          John Currier
        • Votes:
          1 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: