ResultItem item = result.next(); if (ItemType.XS_STRING != item.getItemType()) { throw new IOException("Unexpected item type " + item.getItemType().toString());
ResultItem item = result.next(); if (ItemType.XS_STRING != item.getItemType()) { throw new IOException("Unexpected item type " + item.getItemType().toString());