From: <ale...@jb...> - 2005-05-12 12:42:33
|
"sco...@jb..." wrote : I don't see a problem with needing to create holder objects. The main advantage is that they give you a type explicit representation of the stack as opposed to having to know the types and order of the stack. Ok, thanks for feedback. "sco...@jb..." wrote : I think the general extension to jaxb that we need is the notion of a holder object that is a java bean which can be constructed via standard jaxb rules or customizations + a mapping of that holder into the actual object. The mapping could be specified via simple transform/factory interface. I actually have this general holder. There are some tests for classes that don't have no-arg ctors. I find out that at runtime and collect children. When element is parsed I am trying to find a constructor that would take all the children (the order is the order of the elements in the XML content). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877457#3877457 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877457 |