Re: XMLEncoder

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Mon Dec 05 2005 - 02:19:55 EST

  • Next message: Andrus Adamchik: "Re: Eclipse Setup"

    On Dec 4, 2005, at 6:07 AM, Kevin Menard wrote:
    >> new XMLEncoder().encode(rootXmlTag, objects);
    >
    > Sorry, I've been extremely busy trying to get thesis work done.
    > Anyway, time for me to chime in.
    >
    > The original static method was indeed "redundant", but it was
    > provided because it was intuitively named and represented a very
    > common action. John and I had worked through the API a bit and
    > decided it really was a nice thing to have. I really would like to
    > see it undeprecated.

    See my reply to Cris. It is not only redundant, but also presents a
    problem when more than one encoding algorithm is considered.

    > There are some other API changes that I'm not sure really make
    > sense either (e.g., having a public nodeToString() method).

    It is not public.

    Andrus



    This archive was generated by hypermail 2.0.0 : Mon Dec 05 2005 - 02:19:58 EST