Examples of toMemNodeSet()


Examples of org.exist.xquery.value.NodeValue.toMemNodeSet()

                                                            || REQ_ATTRIBUTE_STYLESHEET.equals(name))) {
                Object value = request.getAttribute(name);
                if (value instanceof NodeValue) {
                    final NodeValue nv = (NodeValue) value;
                    if (nv.getImplementationType() == NodeValue.IN_MEMORY_NODE) {
                        value = nv.toMemNodeSet();
                    }
                }
                transformer.setParameter(name, value);
                transformer.setParameter(name.substring(REQ_ATTRIBUTE_PREFIX.length()), value);
            }
View Full Code Here

Examples of org.exist.xquery.value.Sequence.toMemNodeSet()

                    default:
                        throw new XPathException(this, "Wrong axis specified");
                }
            } else {
                final MemoryNodeSet ctxNodes = contextSequence.toMemNodeSet();
                final MemoryNodeSet nodes = set.toMemNodeSet();
                switch(axis) {
                    case Constants.DESCENDANT_SELF_AXIS:
                        result = ctxNodes.selectDescendants(nodes);
                        break;
                    case Constants.CHILD_AXIS:
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.