Package client.net.sf.saxon.ce.om

Examples of client.net.sf.saxon.ce.om.GroundedValue.subsequence()


    */
   
    public static SequenceIterator make(SequenceIterator base, int min, int max) throws XPathException {
        if (base instanceof GroundedIterator) {
            GroundedValue value = ((GroundedIterator)base).materialize();
            value = value.subsequence(min-1, max-min+1);
            return ((Value)value).iterate();
        } else {
            return new SubsequenceIterator(base, min, max);
        }
    }
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.