[Simple-support] Class type, jar size
Brought to you by:
niallg
|
From: Mark W. <ma...@gm...> - 2008-06-06 11:12:14
|
Hi all,
I've been looking for a fast lightweight java xml serializer for a few
days, just came across Simple, it looks great. I especially like the
compact xml it can produce, since I'm going to be using it for string
message passing across a network.
I'm wondering if there's a quick way to query the class type
serialized in a String, for example, I serialized a class called
Person:
<person a="Bob" b="55">
now I receive that string over the net, and I need to figure out what
kind of class is serialized in it. Is there some facility in Simple
for doing that, or should I prepend some header myself?
Also, the Simple library is ~180k - is there some stripped down
version which makes a smaller jar by any chance?
Thanks for the great tool,
Mark
|