Sets the text on the header element
778523
@Override
    public void setText(String text) {
        if (headingToggle != null) {
            if (text == null) text = "";
            String s = headingToggle.getInnerHTML();
            int p = s.indexOf('<');
            if (p >= 0) s = text + s.substring(p);
            else s = text;
            headingToggle.setInnerHTML(s);
        } else if (!isInstance(getElement())) {
            if (headerPanel != null) {
                super.remove(headerPanel);
                headerPanel = null;
            }
            header.setText(text);
        }
    }
371746
function setText(element, text) {
    if (element.textContent != null) {
        element.textContent = text;
    } else if (element.innerText != null) {
        element.innerText = text;
    }
}
1170050
function(value) {

			var container = this.get('element'),
				text = Lang.substitute(this.get(ARIA_TEXT_TEMPLATE),{
					value:value,
					minValue:this.get(MIN_VALUE),
					maxValue:this.get(MAX_VALUE)
				});
			container.setAttribute('aria-valuenow',value);
			container.setAttribute('aria-valuetext',text);
		}
1335473
public void set(String name, String value)
    {
        HeaderName hn = getHeaderName(name);
        set(hn, value);
    }
755711
def set(self, value):
        

        self._native = bool(value)
        self.contents = b'\x00' if not value else b'\xff'
        self._header = None
        if self._trailer != b'':
            self._trailer = b''
844318
def _setHeaderLabel(self, col, text):
        
        model = self.tree.model()
        item = model.horizontalHeaderItem(col)
        if item:
            item.setText(text)
        else:
            model.setHorizontalHeaderItem(col, QtGui.QStandardItem(text))
1168890
public void setHeading(String heading)
    {
	    
    	String m_heading = heading;
	    
    	String [] preCol = m_heading.split("\n");
    	String [][] cells = new String[preCol.length][this.m_columnNumber];
    	
    	
    	for(int i=0; i<preCol.length; i++)
    		cells[i] = preCol[i].split(";", this.m_columnNumber);
    	
    	for(int i=0; i<cells[0].length; i++)
    	{
    		String xhead = "";
    		for(int j=0; j<preCol.length; j++){
    			//if(cells[j][i]!=null)
    			xhead += (cells[j][i]+ " ");
    		}
    		this.m_xheading.add(xhead);
    	}
    	
    }
332294
@Override
    public void setHeader(String name, String value) {
        touchHeaders().set(name, value);
    }
1269946
@Override
    public void setHTML(String html) {
        if (html == null) {
            if (header != null) flow.remove(header);
        } else {
            if (header == null) {
                header = new Heading(1);
                flow.add(header);
            }
            header.getElement().setInnerHTML(html);
        }
    }
636649
def header(self):
        '''
        

        '''
        lines = ['element %s %d' % (self.name, self.count)]

        # Some information is lost here, since all comments are placed
        # between the 'element' line and the first property definition.
        for c in self.comments:
            lines.append('comment ' + c)

        lines.extend(list(map(str, self.properties)))

        return '\n'.join(lines)
580418
def information_title_header_element(feature, parent):
    """"""
    _ = feature, parent  # NOQA
    header = information_title_header['string_format']
    return header.capitalize()
760016
function setOverrideHeader(res, name, value) {

  if (res._headers && res._headers[name] !== undefined) {
    return true;
  }

  res.setHeader(name, value);
  return true;
}
1219295
public void setTitleElement( ContentElement title ){
		if( title != null ){
			if( this.title == null )	ccl.add( 0, title );
			else 						ccl.set( 0, title );
		}
		else if( this.title != null )	ccl.remove( this.title );
		
		this.title = title;	
	}
926580
public void setHeader(final String header) {
        if (header != null)
            attrMixin.setAttribute(HEADER, header);
        else
            attrMixin.removeAttribute(HEADER);
    }
1190190
def set_text(self, text):
        
        d = self.declaration
        if d.input_type == 'html':
            text = Spanned(__id__=Html.fromHtml(text))
        self.widget.setTextKeepState(text)
97982
public void setWindowTitle(String title) {

        /* HACK: Using a Label destroys the layout for some reason, so we resort to setting the caption directly in the
         element via an explicit JavaScript call. */
        m_windowTitle = title;
        JavaScript.eval(
            "document.querySelector('#"
                + getId()
                + " .fakewindowheader').innerHTML = '"
                + StringEscapeUtils.escapeEcmaScript(title)
                + "'");
    }
414862
def set_title(self, title):
        """"""
        self.head.title.attr(content=title)
        return self