function (sContext) {
			var oOptions = this._getContextOptions(sContext);

			if (!oOptions) {
				return this;
			}

			if (!this.setHTMLTag) {
				Log.error("The bar control you are using does not implement all the members of the IBar interface", this);
				return this;
			}

			this.setHTMLTag(oOptions.tag);

			return this;
		}
function (sContext) {
			var oOptions = this._getContextOptions(sContext);

			if (!oOptions) {
				return this;
			}

			if (!this.setHTMLTag) {
				Log.error("The bar control you are using does not implement all the members of the IBar interface", this);
				return this;
			}

			this.setHTMLTag(oOptions.tag);

			return this;
		}
function ( sContext ) { var oOptions = this . _getContextOptions ( sContext ) ; if ( ! oOptions ) { return this ; } if ( ! this . setHTMLTag ) { Log . error ( "The bar control you are using does not implement all the members of the IBar interface" , this ) ; return this ; } this . setHTMLTag ( oOptions . tag ) ; return this ; }
Sets HTML tag according to the context of the page.

Possible contexts are header, footer, subheader.
@param {string} sContext allowed values are header, footer, subheader.
@returns {sap.m.IBar} <code>this</code> for chaining
@sap-restricted
@private
Sets HTML tag according to the context of the page .
Sets the HTML tag of the bar control