Package net.sf.saxon.expr

Examples of net.sf.saxon.expr.MappingIterator


        }

        SequenceIterator documents =
                top.iterateAxis(Axis.CHILD, NodeKindTest.ELEMENT);

        return new MappingIterator(documents, this, context, null);

    }
View Full Code Here


    public SequenceIterator iterate(XPathContext context) throws XPathException {
        SequenceIterator iter = argument[0].iterate(context);
        Object[] info = new Object[2];
        info[0] = new HashSet();
        info[1] = getAtomicSortComparer(1, context);
        return new MappingIterator(iter, this, null, info);
    }
View Full Code Here

        DocumentMappingInfo info = new DocumentMappingInfo();
        info.baseURI = baseURI;
        info.stylesheetURI = expressionBaseURI;

        MappingIterator map = new MappingIterator(
                                    hrefSequence,
                                    this,
                                    context,
                                    info);
View Full Code Here

            KeyContextInfo info = new KeyContextInfo();
            info.document = doc;
            info.context = context;

            SequenceIterator keys = argument[0].iterate(context);
            SequenceIterator allValues = new MappingIterator(keys, this, null, info);
            return new DocumentOrderIterator(allValues, LocalOrderComparer.getInstance());
        }
    }
View Full Code Here

    */

    public SequenceIterator iterate(XPathContext context) throws XPathException {
        NodeInfo element = (NodeInfo)argument[0].evaluateItem(context);
        SequenceIterator nsNodes = element.iterateAxis(Axis.NAMESPACE);
        return new MappingIterator(nsNodes, this, null, null);
    }
View Full Code Here

     */

    public SequenceIterator getTypedValue(CharSequence value, NodeInfo node) throws ValidationException {
        SequenceIterator iter = new StringTokenIterator(value.toString());
        Object[] data = {node, getItemType()};
        return new MappingIterator(iter, this, null, data);
    }
View Full Code Here

TOP

Related Classes of net.sf.saxon.expr.MappingIterator

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.