Examples of OneItemGoneIterator


Examples of client.net.sf.saxon.ce.tree.iter.OneItemGoneIterator

                    } else {
                        throw reportMixedItems(loc, context);
                    }
                }
            };
            return new ItemMappingIterator(new OneItemGoneIterator(result), atomicValueChecker, true);
        } else {
            ItemMappingFunction nodeChecker = new ItemMappingFunction() {
                public Item mapItem(Item item) throws XPathException {
                    if (item instanceof NodeInfo) {
                        return item;
                    } else {
                        throw reportMixedItems(loc, context);
                    }
                }
            };
            return new DocumentOrderIterator(
                new ItemMappingIterator(new OneItemGoneIterator(result), nodeChecker, true),
                GlobalOrderComparer.getInstance());
        }

    }
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.