if(!_reaccessable) {//TODO
this._decodedItems = Collections.emptyList();
}
return false;
}
final XDMTreeBuilder treeBuilder = _treeBuilder;
final int last = _decodeUnit - 1;
for(int i = 0; i < _decodeUnit; i++) {
final Item item;
try {
item = _decoder.decodeItem(treeBuilder);
} catch (IOException e) {
throw new XQueryException("failed decoding an Item", e);
} finally {
treeBuilder.reset();
}
if(item != null) {
decodedItems.add(item);
if(i == 0) {
focus.setContextItem(item);