if (nodeInformationProvider != null) {
// Specified node was found
Iterator items = nodeInformationProvider.getNodeItems();
if (items != null) {
while (items.hasNext()) {
response.addItem((DiscoverItems.Item) items.next());
}
}
} else if(discoverItems.getNode() != null) {
// Return <item-not-found/> error since client doesn't contain
// the specified node