[jdom-interest] Beta5 candidate

Jason Hunter jhunter at collab.net
Wed Sep 27 01:40:09 PDT 2000


>     public static void writeList(List list, ObjectOutputStream out)
>         throws IOException
>     [...]
>     public static List readList(ObjectInputStream in)
>         throws IOException, ClassNotFoundException
>     [...]

Well, this could go in PartialList.

>     public static void writeNamespace(Namespace ns, ObjectOutputStream out)
>         throws IOException
>     [...]
>     public static Namespace readNamespace(ObjectInputStream in)
>         throws IOException, ClassNotFoundException
>     [...]
> }

And this probably really should go in Namespace -- let the class take
care of its own serialization.

Using PartialList that way is probably just slightly less elegant for
us, but easier on the new JDOM user, and it's evened out by having
Namespace do its own internal management which I like in general
anyway.  At least that's my 1:40am thinking.

-jh-



More information about the jdom-interest mailing list