Package xbird.xquery.meta

Examples of xbird.xquery.meta.IFocus.closeQuietly()


                    final Item groupKey;
                    if(atomizedItor.hasNext()) {
                        AtomicValue atom = (AtomicValue) atomizedItor.next();
                        if(atomizedItor.hasNext()) {
                            atomizedItor.closeQuietly();
                            throw new DynamicError("err:XQDY0095", "Illegal resulting value for a grouping variable: "
                                    + atomized);
                        }
                        groupKey = atom.asGroupingValue();
                    } else {
View Full Code Here


                        }
                        groupKey = atom.asGroupingValue();
                    } else {
                        groupKey = ValueSequence.EMPTY_SEQUENCE;
                    }
                    atomizedItor.closeQuietly();

                    groupKeys[i] = groupKey;
                    rawKeys[i] = result;
                }
View Full Code Here

            focus.setContextItem(it);
            return true;
        }
        focus.setReachedEnd(true);
        IFocus firstItor = (IFocus) itor.getFirstIterator();
        firstItor.closeQuietly();
        IFocus secItor = (IFocus) itor.getSecondIterator();
        secItor.closeQuietly();
        return false;
    }
View Full Code Here

        }
        focus.setReachedEnd(true);
        IFocus firstItor = (IFocus) itor.getFirstIterator();
        firstItor.closeQuietly();
        IFocus secItor = (IFocus) itor.getSecondIterator();
        secItor.closeQuietly();
        return false;
    }

    public Type getType() {
        return SequenceType.ANY_ITEMS;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.