@@ -0,0 +1,1184 @@
+/*******************************************************************************%0A * Copyright (c) 2004, 2005 Actuate Corporation.%0A * All rights reserved. This program and the accompanying materials%0A * are made available under the terms of the Eclipse Public License v1.0%0A * which accompanies this distribution, and is available at%0A * http://www.eclipse.org/legal/epl-v10.html%0A *%0A * Contributors:%0A *  Actuate Corporation  - initial API and implementation%0A *******************************************************************************/%0A%0Apackage org.eclipse.birt.core.data;%0A%0A/**%0A *%09This class help to manipulate expressions. %0A *%0A */%0Apublic final class ExpressionUtil%0A%7B%0A%09private static final String ROW_INDICATOR = %22row%22;%0A%09%0A%09/**%0A%09 * Return a row expression text according to given row name.%0A%09 * %0A%09 * @param rowName%0A%09 * @return%0A%09 */%0A%09public static String createRowExpression( String rowName )%0A%09%7B%0A%09%09return ROW_INDICATOR + %22%5B%5C%22%22 + rowName + %22%5C%22%5D%22;%0A%09%7D%0A%09%0A%09/**%0A%09 * Return a row expression text according to given row index, which%0A%09 * is 1-based.%0A%09 * %0A%09 * @param index%0A%09 * @return%0A%09 */%0A%09public static String createRowExpression( int index )%0A%09%7B%0A%09%09return ROW_INDICATOR + %22%5B%22 + index + %22%5D%22;%0A%09%7D%0A%7D%0A

Add a utility class that can help to create row expressions.