Package net.sf.saxon.sort

Examples of net.sf.saxon.sort.Reverser


    /**
    * Simplify and validate.
    */

     public Expression simplify(StaticContext env) throws XPathException {
        Reverser a = new Reverser(argument[0]);
        return a.simplify(env);
    }
View Full Code Here


            int props = path.getSpecialProperties();

            if ((props & StaticProperty.ORDERED_NODESET) != 0) {
                return path;
            } else if ((props & StaticProperty.REVERSE_DOCUMENT_ORDER) != 0) {
                return new Reverser(path);
            } else {
                return new DocumentSorter(path);
            }
        } else {
            return offer.containingExpression;
View Full Code Here

            nextToken();
            step = new FilterExpression(step, predicate, env);
            setLocation(step);
        }
        if (reverse) {
            return new Reverser(step);
        } else {
            return step;
        }
    }
View Full Code Here

TOP

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

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.