XStream
  1. XStream
  2. XSTR-212

Alternative to java.io.Externalizable that is HiearichalStream aware

    Details

    • Type: New Feature New Feature
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Following on from XSTR-211, an alternative to java.io.Externalizable that works with HierarichalStreams instead of standard ObjectStreams.

      This would follow the same contact as java.io.Externalizable in that a default constructor is required and subclasses that require extra serialized information must explicitly provide the data.

      Something like:

      package com.thoughtworks.xstream;

      public interface ?????able {
      void writeExternal(HierarchicalStreamWriter writer, MarshallingContext context);
      void readExternal(HierarchicalStreamReader reader, UnmarshallingContext context);
      }

        People

        • Assignee:
          Unassigned
          Reporter:
          Joe Walnes
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated: