Examples of selectDescendants()


Examples of oracle.olapi.data.source.StringSource.selectDescendants()

     getContext().displayResult(parentsAndChildrenShortcutWithDescr);   
    
     // Example 4: selectDescendants(Source comparison, Source parent)
     // Select the parent value and its descendants.
     Source parentAndChildrenShortcut2 =
             shipments.selectDescendants(
                      getExpressDataProvider()
                      .createConstantSource("SHIPMENTS_AW::WAREHOUSE_AW::17"),
                      shipmentsParentAttr);
     // Add the value descriptions to the selections.
     Source parentAndChildrenShortcut2WithDescr =
View Full Code Here

Examples of oracle.olapi.data.source.StringSource.selectDescendants()

     // Example 5: sortDescendingHierarchically(Source joined, Source parent,
     //                                         boolean parentsFirst,
     //                                         boolean parentsRestrictedToBase)
     // Select the descendants of a REGION value, which is the level above the
     // WAREHOUSE level.
     Source custSel = shipments.selectDescendants(
                        getExpressDataProvider()
                        .createConstantSource("SHIPMENTS_AW::REGION_AW::8"),
                        shipmentsParentAttr);
     // Sort the selection hierarchically in descending order, with the parent
     // values appearing after their children.
View Full Code Here

Examples of org.exist.memtree.NodeImpl.selectDescendants()

        sortInDocumentOrder();
        final ValueSequence nodes = new ValueSequence(true);
        nodes.keepUnOrdered(keepUnOrdered);
        for (int i = 0; i <= size; i++) {
            final NodeImpl node = (NodeImpl) values[i];
            node.selectDescendants(includeSelf, test, nodes);
        }
        return nodes;
    }

    public Sequence getAncestors(boolean includeSelf, NodeTest test) throws XPathException {
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.