Examples of visit()


Examples of com.googlecode.aviator.asm.AnnotationVisitor.visit()

        public void begin(final String nm, final Attributes attrs)
                throws SAXException
        {
            AnnotationVisitor av = (AnnotationVisitor) peek();
            if (av != null) {
                av.visit(attrs.getValue("name"),
                        getValue(attrs.getValue("desc"),
                                attrs.getValue("value")));
            }
        }
    }
View Full Code Here

Examples of com.haulmont.yarg.structure.BandData.visit()

        if (CollectionUtils.isNotEmpty(alreadyRenderedRanges)) {//this band has been already rendered at least once
            Range lastRenderedRange = alreadyRenderedRanges.get(alreadyRenderedRanges.size() - 1);
            BandData lastRenderedBand = bandsToResultRanges.inverse().get(lastRenderedRange);
            LastRowBandVisitor bandVisitor = new LastRowBandVisitor();
            lastRenderedBand.visit(bandVisitor);

            if (resultSheetRows.size() > bandVisitor.lastRow) {//get next row
                firstRow = resultSheetRows.get(bandVisitor.lastRow);
            }
        } else if (!isFirstLevelBand) {
View Full Code Here

Examples of com.hp.hpl.jena.sparql.expr.Expr.visit()

                Expr expr = func.getArg(i) ;
                if ( expr == null )
                    break ;
                // endLine() ;
                out.print(' ') ;
                expr.visit(this) ;
            }
            out.print(")") ;
            out.decIndent() ;
        }
View Full Code Here

Examples of com.hp.hpl.jena.sparql.syntax.Element.visit()

            out.print(fn) ;
            out.print(" ") ;
            Element el = funcOp.getElement() ;
            if ( el == null )
                el = OpAsQuery.asQuery(funcOp.getGraphPattern()).getQueryPattern() ;
            el.visit(fmtElt) ;
        }

        @Override
        public void visit(NodeValue nv)
        {
View Full Code Here

Examples of com.hp.jena.rules.ast.Element.visit()

            {
            FlattenElements visitor = new FlattenElements();
            AllElement element = alls.get( 0 );
            final String name = element.getName();
            RuleBody rb = element.getRuleBody();
            Element premises = rb.getPremises(); premises.visit( visitor );
            List<Term> c = rb.getConclusions();
            List<Expr> actions = rb.getActions();
            Consumer<Entries> intermediateConclusion = new Consumer<Entries>()
                {
                Set<Node> collection = new HashSet<Node>();
View Full Code Here

Examples of com.hp.jena.rules.ast.Item.visit()

            {
            @Override public Item.Functor visitFunctor( Item.Functor f )
                { return f; }
            };
        Item functor = Item.createFunctor( "someF", new ArrayList<Expr>() );
        Object actual = functor.visit( iv );
        assertSame( functor, actual );
        }
    }
View Full Code Here

Examples of com.jcloisterzone.feature.visitor.score.MonasteryAbbotScoreContext.visit()

                if (alreadyRated.contains(m)) continue;
                scoreCompletable((Completable) f, callback);
                if (f instanceof Cloister && ((Cloister)f).isMonastery()) {
                    //additionally to common monk scoring count score for abbots
                    MonasteryAbbotScoreContext ctx = new MonasteryAbbotScoreContext(game);
                    ctx.visit(f);
                    callback.scoreCompletableFeature(ctx);
                }
            }
        }
View Full Code Here

Examples of com.jd.glowworm.asm.ClassWriter.visit()

        }

        String className = getGenClassName(clazz);

        ClassWriter cw = new ClassWriter();
        cw.visit(V1_5, ACC_PUBLIC + ACC_SUPER, className, getType(ASMJavaBeanDeserializer.class), null);

        DeserializeBeanInfo beanInfo = DeserializeBeanInfo.computeSetters(clazz, type);

        _init(cw, new Context(className, config, beanInfo, 3));
        _createInstance(cw, new Context(className, config, beanInfo, 3));
View Full Code Here

Examples of com.legstar.xsd.XsdNavigator.visit()

                "Xsd2CobAnnotatorTest/stockquote.wsdl.xsd"));
        XmlSchema schema = XsdReader.read(doc);
        mapper.setUp();

        XsdNavigator navigator = new XsdNavigator(schema, mapper);
        navigator.visit();

        check(getName(), "txt", mapper.getRootDataItems().toString());
    }

    /**
 
View Full Code Here

Examples of com.mxgraph.layout.hierarchical.model.mxGraphHierarchyModel.visit()

            .getVertexMapper().get(node);
        rootsArray[i] = internalNode;
      }
    }

    model.visit(new mxGraphHierarchyModel.CellVisitor()
    {
      public void visit(mxGraphHierarchyNode parent,
          mxGraphHierarchyNode cell,
          mxGraphHierarchyEdge connectingEdge, int layer, int seen)
      {
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.