Examples of accept()


Examples of org.python.pydev.parser.jython.ast.stmtType.accept()

        try {
            int len = body.length;
            for (int i = 0; i < len; i++) {
                stmtType b = body[i];
                if (b != null) {
                    b.accept(visitor);
                }
            }
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
View Full Code Here

Examples of org.qi4j.api.structure.ApplicationDescriptor.accept()

                return assembly;
            }
        } );
        ApplicationDescriptor model = app.descriptor();
        model.accept( new HierarchicalVisitor<Object, Object, RuntimeException>()
        {
            @Override
            public boolean visitEnter( Object visited ) throws RuntimeException
            {
                return visited instanceof ApplicationDescriptor;
View Full Code Here

Examples of org.qi4j.runtime.structure.ApplicationModel.accept()

        // Bind model
        // This will resolve all dependencies
        try
        {
//            applicationModel.bind();
            applicationModel.accept( new BindingVisitor( applicationModel ) );
        }
        catch( BindingException e )
        {
            throw new AssemblyException( "Unable to bind: " + applicationModel, e );
        }
View Full Code Here

Examples of org.renjin.sexp.SEXP.accept()

  @Override
  public void visitConstant(Constant constant) {
    if(constant.getValue() instanceof SEXP) {
      SEXP exp = (SEXP)constant.getValue();
      exp.accept(new ConstantGeneratingVisitor(mv));
    } else if (constant.getValue() instanceof Integer) {
      ByteCodeUtil.pushInt(mv, (Integer)constant.getValue());
    } else {
      throw new UnsupportedOperationException();
    }
View Full Code Here

Examples of org.rhq.augeas.util.GlobFilter.accept()

            Set<String> collectedResults = new HashSet<String>();
            GlobFilter filter = new GlobFilter(glob);

            for (String fileName : testFileNames) {
                File f = new File(fileName);
                if (filter.accept(f)) {
                    collectedResults.add(fileName);
                }
            }

            assertEqualsNoOrder(collectedResults.toArray(), expectedResults.toArray(), "The glob '" + glob
View Full Code Here

Examples of org.richfaces.model.impl.expressive.WrappedBeanFilter.accept()

      ObjectWrapperFactory wrapperFactory = new RowKeyWrapperFactory(context, var, filterFields);
     
      WrappedBeanFilter wrappedBeanFilter = new WrappedBeanFilter(filterFields, locale);
      wrapperFactory.wrapList(rowKeys);
      for (Object object : rowKeys) {
        if(wrappedBeanFilter.accept((JavaBeanWrapper)object)) {
          filteredCollection.add(object);
        }
      }
      rowKeys = filteredCollection;
      wrapperFactory.unwrapList(rowKeys);
View Full Code Here

Examples of org.rsbot.loader.asm.ClassReader.accept()

        entry.setValue(script.process(entry.getKey(), entry.getValue()));
      }

      final ClassReader reader = new ClassReader(new ByteArrayInputStream(classes.get("client")));
      final VersionVisitor vv = new VersionVisitor();
      reader.accept(vv, ClassReader.SKIP_FRAMES);
      version[1] = vv.getVersion();

      final ZipOutputStream zip = new ZipOutputStream(new FileOutputStream(cache));
      zip.setMethod(ZipOutputStream.STORED);
      zip.setLevel(0);
View Full Code Here

Examples of org.rsbot.loader.asm.signature.SignatureReader.accept()

    SignatureWriter w = new SignatureWriter();
    SignatureVisitor a = createRemappingSignatureAdapter(w);
    if (typeSignature) {
      r.acceptType(a);
    } else {
      r.accept(a);
    }
    return w.toString();
  }

  protected SignatureVisitor createRemappingSignatureAdapter(
View Full Code Here

Examples of org.semanticweb.owl.model.OWLAxiom.accept()

      else if( object instanceof OWLIndividual ) {
        OWLIndividual ind = (OWLIndividual) object;
        axiom = factory.getOWLClassAssertionAxiom( ind, factory.getOWLThing() );
      }
      if( axiom != null )
        axiom.accept( atermConverter );

      OWLObject converted = owlapiConverter.convert( aterm );

      assertEquals( object, converted );
    } catch( Exception e ) {
View Full Code Here

Examples of org.semanticweb.owl.model.OWLConstant.accept()

  public void visit(OWLDataRangeFacetRestriction node) {
    Facet facet = Facet.Registry.get( ATermUtils.makeTermAppl( node.getFacet().getURI().toString() ) )

    if( facet != null ) {
      OWLConstant facetValue = node.getFacetValue();
      facetValue.accept( this );     

      term = ATermUtils.makeFacetRestriction( facet.getName(), term );
    }
  }
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.