Examples of walk()


Examples of org.gocha.text.regex.Matcher.walk()

        clearApplyStyleQueue();
        Matcher matched = pattern.match(sdocText, 0);

        if( matched.isMatched() )
        {
            for( Matcher m : matched.walk() )
            {
                addMatched(m);
            }
        }
View Full Code Here

Examples of org.locationtech.geogig.api.plumbing.diff.PostOrderDiffWalk.walk()

                    copy(ids, fromDb, toDb, progress);
                    ids.clear();
                }
            }
        };
        diffWalk.walk(filter, consumer);
        // copy remaining objects
        copy(ids, fromDb, toDb, progress);
    }

    private void copy(Set<ObjectId> ids, ObjectDatabase from, ObjectDatabase to,
View Full Code Here

Examples of org.locationtech.geogig.api.plumbing.diff.PreOrderDiffWalk.walk()

        BoundsWalk walk = new BoundsWalk(crs, stagingDatabase());
        PreOrderDiffWalk.Consumer consumer = walk;
        if (!pathFilters.isEmpty()) {
            consumer = new PathFilteringDiffConsumer(pathFilters, walk);
        }
        visitor.walk(consumer);
        DiffSummary<BoundingBox, BoundingBox> diffBounds = walk.getResult();
        return diffBounds;
    }

    private CoordinateReferenceSystem resolveCrs() {
View Full Code Here

Examples of org.opentripplanner.routing.spt.SPTWalker.walk()

        };
        final AccumulativeGridSampler<WTWD> gridSampler = new AccumulativeGridSampler<WTWD>(
                sampleGrid, accMetric);

        SPTWalker johnny = new SPTWalker(spt);
        johnny.walk(new SPTVisitor() {
            @Override
            public final boolean accept(Edge e) {
                return e instanceof StreetEdge;
            }
View Full Code Here

Examples of org.richfaces.component.AbstractCarousel.walk()

                        return DataVisitResult.CONTINUE;
                    }
                };

                repeater.walk(context, visitor, null);
            } finally {
                repeater.setRowKey(context, null);
            }
        } else {
            for (UIComponent child : component.getChildren()) {
View Full Code Here

Examples of org.richfaces.component.AbstractExtendedDataTable.walk()

                String clientId = table.getClientId(context);
                // TODO 1. Encode fixed children
                for (state.startIterate(); state.hasNextPart();) {
                    String partId = state.nextPart().getName().getId();
                    final List<String> ids = new LinkedList<String>();
                    table.walk(context, new DataVisitor() {
                        public DataVisitResult process(FacesContext context, Object rowKey, Object argument) {
                            UIDataTableBase dataTable = state.getRow();
                            dataTable.setRowKey(context, rowKey);
                            ids.add(dataTable.getContainerClientId(context) + ":" + state.getPart().getName().getId());
                            return DataVisitResult.CONTINUE;
View Full Code Here

Examples of org.richfaces.component.AbstractExtendedDataTable.walk()

                            dataTable.setRowKey(context, rowKey);
                            ids.add(dataTable.getContainerClientId(context) + ":" + state.getPart().getName().getId());
                            return DataVisitResult.CONTINUE;
                        }
                    }, removeRange, null);
                    table.walk(context, new DataVisitor() {
                        public DataVisitResult process(FacesContext context, Object rowKey, Object argument) {
                            UIDataTableBase dataTable = state.getRow();
                            dataTable.setRowKey(context, rowKey);
                            HashMap<String, String> attributes = new HashMap<String, String>(1);
                            String id = dataTable.getContainerClientId(context) + ":" + state.getPart().getName().getId();
View Full Code Here

Examples of org.richfaces.component.AbstractList.walk()

    protected void encodeListItems(FacesContext context, UIComponent component, ListType listType) throws IOException {
        AbstractList list = (AbstractList) component;
        try {
            ItemsEncoder itemsEncoder = getItemsEncoderByType(listType);
            SequenceRendererHelper rendererHelper = new SequenceRendererHelper(list);
            list.walk(context, itemsEncoder, rendererHelper);

            if (!rendererHelper.hasWalkedOverRows()) {
                itemsEncoder.encodeFakeItem(context, component);
            }
        } catch (FacesException e) {
View Full Code Here

Examples of org.richfaces.component.DeclarativeTreeDataModelWalker.walk()

        setRowKeyAndData(null, null);
        this.currentComponent = tree;

        if (key != null) {
            DeclarativeTreeDataModelWalker walker = new DeclarativeTreeDataModelWalker(FacesContext.getCurrentInstance(), tree);
            walker.walk(key);

            setRowKeyAndData(key, walker.getData());
            this.currentComponent = walker.getCurrentComponent();
        }
    }
View Full Code Here

Examples of org.richfaces.component.UIExtendedDataTable.walk()

            if (clientSelection.isReset() || clientSelection.isSelectAll()) {
                simpleSelection.clear();
            }

            try {
                table.walk(context, new DataVisitor() {
                    public void process(FacesContext context, Object rowKey,
                            Object argument) throws IOException {

                        // TableHolder holder = (TableHolder) argument;
                        // int i = state.getRowIndex();
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.