src/sap.ui.core/src/sap/ui/core/routing/Router.js
function (sName, oParameters) {
				if (oParameters === undefined) {
					//even if there are only optional parameters crossroads cannot navigate with undefined
					oParameters = {};
				}

				var oRoute = this.getRoute(sName);
				if (!oRoute) {
					Log.warning("Route with name " + sName + " does not exist", this);
					return;
				}
				return oRoute.getURL(oParameters);
			}
function (sName, oParameters) {
				if (oParameters === undefined) {
					//even if there are only optional parameters crossroads cannot navigate with undefined
					oParameters = {};
				}

				var oRoute = this.getRoute(sName);
				if (!oRoute) {
					Log.warning("Route with name " + sName + " does not exist", this);
					return;
				}
				return oRoute.getURL(oParameters);
			}
function ( sName , oParameters ) { if ( oParameters === undefined ) { //even if there are only optional parameters crossroads cannot navigate with undefined oParameters = { } ; } var oRoute = this . getRoute ( sName ) ; if ( ! oRoute ) { Log . warning ( "Route with name " + sName + " does not exist" , this ) ; return ; } return oRoute . getURL ( oParameters ) ; }
Returns the URL for the route and replaces the placeholders with the values in oParameters

@param {string} sName Name of the route
@param {object} [oParameters] Parameters for the route
@return {string} the unencoded pattern with interpolated arguments
@public
Returns the URL for the route and replaces the placeholders with the values in oParameters