> From: Michael Homeijer [mailto:[EMAIL PROTECTED]] > > Hi, > > The current castortransformer is not able to handle collections. > The following lines of code adds Collection handling to the > CastorTransformer: > > if (Collection.class.isAssignableFrom(bean.getClass())) { > Iterator i = ((Collection)bean).iterator(); > while (i.hasNext()) { > marshaller.marshal(i.next()); > } > } else { > marshaller.marshal(bean); // THIS line is currently only > implemented. > }
Would you please post a patch to Bugzilla (cvs diff -u > castor.diff), so this extention won't be lost or forgotten? Konstantin > > Michael Homeijer. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]