Bug 187201 DTE should give out 4 API for CrossTab sort and filter
DTE should give out 4 API for CrossTab sort and filter. 2 apis are used by giving out the available binding for CrossTab sort and filter. The third is api used by giving out the member value viewer is available. The fourth api is used by giving out the available value list about the memeber value.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/util/OlapExpressionUtil.java
}
		return new DimLevel( target[0], target[1] );
	}
	/**
	 * This method is to get the measure name that referenced by a measure
	 * reference expression.
	 * 
	 * @param expr
	 * @return
	 */
	public static String getMeasure( String expr ) throws DataException
	{
		if ( expr == null || !expr.matches( "\\Qmeasure[\"\\E.*\\Q\"]\\E" ) )
			throw new DataException( ResourceConstants.INVALID_MEASURE_REF,
					expr );
		return expr.replaceFirst( "\\Qmeasure[\"\\E", "" )
				.replaceFirst( "\\Q\"]\\E", "" );
	}
	
	/**
	 * Return the binding name of data["binding"]
	 * @param expr
	 * @return
	 */
	public static String getBindingName( String expr )
	{
		if ( expr == null )
			return null;
		if ( !expr.matches( "\\Qdata[\"\\E.*\\Q\"]\\E" ) )
			return null;