log.trace("Loop type: " + name);
log.trace("Wrap in collections? " + introspector.isWrapCollectionsInElement());
}
ElementDescriptor loopDescriptor = new ElementDescriptor();
loopDescriptor.setContextExpression(
new IteratorExpression( new MethodExpression( readMethod ) )
);
loopDescriptor.setWrapCollectionsInElement(
introspector.isWrapCollectionsInElement());
// XXX: need to support some kind of 'add' or handle arrays, Lists or indexed properties
//loopDescriptor.setUpdater( new MethodUpdater( writeMethod ) );