public String text(){
  StringBuilder sb=new StringBuilder();
  for (  Node node : nodes) {
    sb.append(node.getTextContent());
  }
  return sb.toString();
}

public String text ( ) { StringBuilder sb = new StringBuilder ( ) ; for ( Node node : nodes ) { sb . append ( node . getTextContent ( ) ) ; } return sb . toString ( ) ; }
gets the combined text contents of each element in the set of matched elements , including their descendants . text is html decoded for text nodes .
