Code example for Text

Methods: getDatagetParentNode

0
		xpath.append(attr.getName());
	} 
 
	private void computeBasicXPath(Text text, StringBuilder xpath,
			NamespaceInfos namespaceInfos) {
		computeBasicXPath(text.getParentNode(), xpath, namespaceInfos);
		xpath.append("[text()=");
		addXPathConditionValue(text.getData(), xpath);
		xpath.append("]");
		xpath.append("/text()");
	} 
 
	private void addXPathConditionValue(String value, StringBuilder xpath) {
		char c = getEnclosingXPathCondition(value);
		xpath.append(c);
		xpath.append(value);
		xpath.append(c);
 
	} 
 
Connect your IDE to all the code out there  Get Codota for Java