[Simple-support] Beginner Questions
Brought to you by:
niallg
|
From: Travis R. <tr...@gm...> - 2007-06-19 06:35:03
|
Hi, I just came across your project and it looks very interesting indeed. A few questions/comments: - Why is the @Root required? It looks like you have to always use it which means that it's not really useful. Unless I'm missing something. - I also noticed that if you don't use the @Attribute or @Element, then the field is not serialized. It would be a lot more user friendly to include all fields, probably defaulting to @Element, and the use the annotations to exclude the ones you don't want with something similar to JPA's @Transient or change the way it's serialized with @Attribute. I have to admit that as soon as I saw that you must have all these annotations, my interest decreased. It seems to me the default could work out of the box with no annotations like XStream and you only add annotations to modify that default behaviour. Rather than the current behaviour of doing nothing unless you add annotations. Just my 2 cents. Travis |