private void collectText(){
  if (textNodeCount > 1) {
    firstTextNode.setText(textBuffer.toString());
  }
  textNodeCount=0;
}

private void collectText ( ) { if ( textNodeCount > 1 ) { firstTextNode . setText ( textBuffer . toString ( ) ) ; } textNodeCount = 0 ; }
this method breaks concatenation mode . as a side effect it copies the concatenated string to the first text node
