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