private Object processNewObjectExpression(ObjectManager om, Object rs, StatementExpressionIterator stmtExprIterator,
ScalarExpression expr1)
{
// NewObjectExpression - so create the new object from the component field values
NewObjectExpression newObjectExpr = (NewObjectExpression)expr1;
int numberOfArgs = newObjectExpr.getArgumentExpressions().size();
ArrayList argValues = new ArrayList();
for (int j=0;j<numberOfArgs;j++)
{
ScalarExpression expr = (ScalarExpression)newObjectExpr.getArgumentExpressions().get(j);
argValues.add(processScalarExpression(om, rs, stmtExprIterator, expr));
}
return newObjectExpr.createNewObject(argValues.toArray(new Object[argValues.size()]));
}