Package net.sf.saxon.sort

Examples of net.sf.saxon.sort.GroupIterator


     * Evaluate the expression
     */

    public Item evaluateItem(XPathContext c) throws XPathException {
        if (operation==CURRENT_GROUPING_KEY) {
            GroupIterator gi = c.getCurrentGroupIterator();
            if (gi==null) {
                return null;
            }
            return gi.getCurrentGroupingKey();
        } else {
            return super.evaluateItem(c);
        }
    }
View Full Code Here


    * Return an iteration over the result sequence
    */

    public SequenceIterator iterate(XPathContext c) throws XPathException {
        if (operation==CURRENT_GROUP) {
            GroupIterator gi = c.getCurrentGroupIterator();
            if (gi==null) {
                return EmptyIterator.getInstance();
            }
            return gi.iterateCurrentGroup();
        } else {
            return super.iterate(c);
        }
    }
View Full Code Here

     * Evaluate the expression
     */

    public Item evaluateItem(XPathContext c) throws XPathException {
        if (operation==CURRENT_GROUPING_KEY) {
            GroupIterator gi = c.getCurrentGroupIterator();
            if (gi==null) {
                return null;
            }
            return gi.getCurrentGroupingKey();
        } else {
            return super.evaluateItem(c);
        }
    }
View Full Code Here

    * Return an iteration over the result sequence
    */

    public SequenceIterator iterate(XPathContext c) throws XPathException {
        if (operation==CURRENT_GROUP) {
            GroupIterator gi = c.getCurrentGroupIterator();
            if (gi==null) {
                return EmptyIterator.getInstance();
            }
            return gi.iterateCurrentGroup();
        } else {
            return super.iterate(c);
        }
    }
View Full Code Here

     * Evaluate the expression
     */

    public Item evaluateItem(XPathContext c) throws XPathException {
        if (operation==CURRENT_GROUPING_KEY) {
            GroupIterator gi = c.getCurrentGroupIterator();
            if (gi==null) {
                return null;
            }
            return gi.getCurrentGroupingKey();
        } else {
            return super.evaluateItem(c);
        }
    }
View Full Code Here

    * Return an iteration over the result sequence
    */

    public SequenceIterator iterate(XPathContext c) throws XPathException {
        if (operation==CURRENT_GROUP) {
            GroupIterator gi = c.getCurrentGroupIterator();
            if (gi==null) {
                return EmptyIterator.getInstance();
            }
            return gi.iterateCurrentGroup();
        } else {
            return super.iterate(c);
        }
    }
View Full Code Here

TOP

Related Classes of net.sf.saxon.sort.GroupIterator

Copyright © 2018 www.massapicom. 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.