BBOS/src/bing/requests/BingRequest.java
/**
	 * Specifies request specific options to be passed to the API
	 * @return A string representing the various set API parameters
	 */
Specifies request specific options to be passed to the API
@return A string representing the various set API parameters
Specifies request specific options to be passed to the API @return A string representing the various set API parameters
public String requestOptions()
	{
		StringBuffer options = new StringBuffer();
		if(this.attrDict.containsKey("version"))
		{
			options.append(bing.Bing.format("&Version={0}", new Object[]{this.attrDict.get("version")}));
		}
		if(this.attrDict.containsKey("market"))
		{
			options.append(bing.Bing.format("&Market={0}", new Object[]{this.attrDict.get("market")}));
		}
		if(this.attrDict.containsKey("adult"))
		{
			options.append(bing.Bing.format("&Adult={0}", new Object[]{this.attrDict.get("adult")}));
		}
		if(this.attrDict.containsKey("options"))
		{
			options.append(bing.Bing.format("&Options={0}", new Object[]{this.attrDict.get("options")}));
		}
		if(this.attrDict.containsKey("latitude"))
		{
			options.append(bing.Bing.format("&Latitude={0" + DOUBLE_FORMAT + "}", new Object[]{this.attrDict.get("latitude")}));
		}
		if(this.attrDict.containsKey("longitude"))
		{
			options.append(bing.Bing.format("&Longitude={0" + DOUBLE_FORMAT + "}", new Object[]{this.attrDict.get("longitude")}));
		}
		if(this.attrDict.containsKey("language"))
		{
			options.append(bing.Bing.format("&UILanguage={0}", new Object[]{this.attrDict.get("language")}));
		}
		if(this.attrDict.containsKey("radius"))
		{
			options.append(bing.Bing.format("&Radius={0" + DOUBLE_FORMAT + "}", new Object[]{this.attrDict.get("radius")}));
		}
		return options.toString();
	}
public String requestOptions ( ) { StringBuffer options = new StringBuffer ( ) ; if ( this . attrDict . containsKey ( "version" ) ) { options . append ( bing . Bing . format ( "&Version={0}" , new Object [ ] { this . attrDict . get ( "version" ) } ) ) ; } if ( this . attrDict . containsKey ( "market" ) ) { options . append ( bing . Bing . format ( "&Market={0}" , new Object [ ] { this . attrDict . get ( "market" ) } ) ) ; } if ( this . attrDict . containsKey ( "adult" ) ) { options . append ( bing . Bing . format ( "&Adult={0}" , new Object [ ] { this . attrDict . get ( "adult" ) } ) ) ; } if ( this . attrDict . containsKey ( "options" ) ) { options . append ( bing . Bing . format ( "&Options={0}" , new Object [ ] { this . attrDict . get ( "options" ) } ) ) ; } if ( this . attrDict . containsKey ( "latitude" ) ) { options . append ( bing . Bing . format ( "&Latitude={0" + DOUBLE_FORMAT + "}" , new Object [ ] { this . attrDict . get ( "latitude" ) } ) ) ; } if ( this . attrDict . containsKey ( "longitude" ) ) { options . append ( bing . Bing . format ( "&Longitude={0" + DOUBLE_FORMAT + "}" , new Object [ ] { this . attrDict . get ( "longitude" ) } ) ) ; } if ( this . attrDict . containsKey ( "language" ) ) { options . append ( bing . Bing . format ( "&UILanguage={0}" , new Object [ ] { this . attrDict . get ( "language" ) } ) ) ; } if ( this . attrDict . containsKey ( "radius" ) ) { options . append ( bing . Bing . format ( "&Radius={0" + DOUBLE_FORMAT + "}" , new Object [ ] { this . attrDict . get ( "radius" ) } ) ) ; } return options . toString ( ) ; }
Specifies request specific options to be passed to the API
 @return A string representing the various set API parameters
Specifies request specific options to be passed to the API @return A string representing the various set API parameters