{
while (lTokenizer.hasMoreTokens())
{
Element element = doc.createElement("token");
element.appendChild(doc.createTextNode(lTokenizer.nextToken()));
resultSet.addNode(element);
}
}
}
// If the delimiter is an empty string, create one token Element for
// every single character.