if( currentText != null ) currentNode.addChild( factory.makeNode( new XMLTextNode( currentText.trim().toCharArray() ) ) );
if( currentText != null ) { currentNode.addChild(factory.makeNode( new XMLTextNode(currentText.trim().toCharArray()))); }
   public void endElement (String uri, String name, String qName)   {     if( currentText != null )       currentNode.addChild( factory.makeNode(              new XMLTextNode( currentText.trim().toCharArray() ) ) );     currentText = null;     currentNode = (Node) treestack.pop();   }