Code examples for Text

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
131:	element2.appendChild(text3); 
-
146:	text3 = (Text) text3.cloneNode(false); 
-
149:	element5.appendChild(text3); 
-
152:	text3 = (Text) text3.cloneNode(false); 
-
155:	element6.appendChild(text3); 
-
160:	text3 = (Text) text3.cloneNode(false); 
-
164:	element7.appendChild(text3); 
Full Snippet Info
6
CodeRank
385:	textNode.setData(textNode.getNodeValue() + text); 
Full Snippet Info
6
CodeRank
86:	escaped = UiBinderWriter.escapeText(t.getTextContent(), 
-
89:	escaped = t.getTextContent(); 
-
100:	Element parent = Node.ELEMENT_NODE == t.getParentNode().getNodeType() 
101:	? (Element) t.getParentNode() : null; 
Full Snippet Info
5
CodeRank
41:	return exportNode(textNode.splitText(offset)); 
Full Snippet Info
5
CodeRank
77:	String nodeValue = text.getNodeValue(); 
Full Snippet Info
5
CodeRank
23:	return prefix + domText.getWholeText(); 
Full Snippet Info
5
CodeRank
64:	nodeValue = txtNode.getNodeValue(); 
-
66:	retval = txtNode.getNextSibling(); 
Full Snippet Info
5
CodeRank
161:	computeBasicXPath(text.getParentNode(), xpath, namespaceInfos); 
-
163:	addXPathConditionValue(text.getData(), xpath); 
Full Snippet Info
5
CodeRank
64:	String escaped = UiBinderWriter.escapeText(t.getTextContent(), 
-
70:	Element parent = Node.ELEMENT_NODE == t.getParentNode().getNodeType() 
71:	? (Element) t.getParentNode() : null; 
Full Snippet Info
5
CodeRank
173:	this.title.appendChild( this.titleText ); 
-
177:	this.titleText.setData( titleText ); 
Full Snippet Info
5
CodeRank
64:	String escaped = UiBinderWriter.escapeText(t.getTextContent(), 
-
70:	Element parent = Node.ELEMENT_NODE == t.getParentNode().getNodeType() 
71:	? (Element) t.getParentNode() : null; 
Full Snippet Info
5
CodeRank
46:	return text.getData(); 
Full Snippet Info
5
CodeRank
288:	this.title.appendChild( this.titleText ); 
-
292:	this.titleText.setData( titleText ); 
Full Snippet Info
5
CodeRank
46:	ASSERT.that(t).isNotNull(); 
-
48:	t.splitText(-1); 
Full Snippet Info
4
CodeRank
180:	xml.append(node.getNodeValue()); 
Full Snippet Info
5
CodeRank
61:	var6.setUserData("line-number", Integer.valueOf(this.locator.getLineNumber()), (UserDataHandler)null); 
62:	var4.appendChild(var6); 
Full Snippet Info
5
CodeRank
234:	int val = Integer.parseInt(text.getData()); 
-
236:	throw new NodeTestException("Incorrect value", text); 
Full Snippet Info
4
CodeRank
77:	return text.getData(); 
Full Snippet Info
5
CodeRank
76:	return text.getData(); 
Full Snippet Info
5
CodeRank
51:	String textContent = DatatypeHelper.safeTrimOrNullString(content.getWholeText()); 
-
54:	qname.setValue(XMLHelper.constructQName(textContent, XMLHelper.getElementAncestor(content))); 
Full Snippet Info
5
CodeRank