Examples of accept()


Examples of org.semanticweb.owlapi.model.OWLSubPropertyChainOfAxiom.accept()

            write(individual);
            writeCloseBracket();
            writeln();
        }
        for (OWLAxiom axiom : ontology.getAxioms()) {
            axiom.accept(this);
        }
        try {
            writer.flush();
        } catch (IOException io) {
            throw new OWLRuntimeException(io);
View Full Code Here

Examples of org.sleuthkit.autopsy.datamodel.DisplayableItemNode.accept()

            return new Node[]{};
        }

        final DisplayableItemNode diNode = (DisplayableItemNode) origNode;

        if (diNode.accept(showItemV) == false) {
            //do not show
            return new Node[]{};
        }

        // filter out the FileNode and the "." and ".." directories
View Full Code Here

Examples of org.sleuthkit.datamodel.Content.accept()

            return false;
        }

        final Server solrServer = KeywordSearch.getServer();

        boolean isDir = content.accept(isDirVisitor);
        if (isDir) {
            return false;
        }

        final long contentID = content.getId();
View Full Code Here

Examples of org.slim3.gen.datastore.DataType.accept()

                    modelMetaDesc.getModelClassName());
        } else {
            printer.println("    %1$s m = (%1$s) model;", modelMetaDesc
                .getModelClassName());
            DataType dataType = attr.getDataType();
            dataType.accept(
                new SimpleDataTypeVisitor<Void, Void, RuntimeException>() {

                    @Override
                    protected Void defaultAction(DataType type, Void p)
                            throws RuntimeException {
View Full Code Here

Examples of org.sonatype.aether.graph.DependencyNode.accept()

        DependencyNode root =
            pluginDependenciesResolver.resolve( plugin, RepositoryUtils.toArtifact( pluginArtifact ), dependencyFilter,
                                                project.getRemotePluginRepositories(), session.getRepositorySession() );

        PreorderNodeListGenerator nlg = new PreorderNodeListGenerator();
        root.accept( nlg );

        List<Artifact> exposedPluginArtifacts = new ArrayList<Artifact>( nlg.getNodes().size() );
        RepositoryUtils.toArtifacts( exposedPluginArtifacts, Collections.singleton( root ),
                                     Collections.<String> emptyList(), null );
        for ( Iterator<Artifact> it = exposedPluginArtifacts.iterator(); it.hasNext(); )
View Full Code Here

Examples of org.spockframework.compiler.model.Spec.accept()

    }

    void processSpec(ClassNode clazz, ErrorReporter errorReporter, SourceLookup sourceLookup) {
      try {
        Spec spec = new SpecParser(errorReporter).build(clazz);
        spec.accept(new SpecRewriter(nodeCache, sourceLookup, errorReporter));
        spec.accept(new SpecAnnotator(nodeCache));
      } catch (Exception e) {
        errorReporter.error(
            "Unexpected error during compilation of spec '%s'. Maybe you have used invalid Spock syntax? Anyway, please file a bug report at http://issues.spockframework.org.",
            e, clazz.getName());
View Full Code Here

Examples of org.springframework.asm.ClassReader.accept()

      return NO_DEBUG_INFO_MAP;
    }
    try {
      ClassReader classReader = new ClassReader(is);
      Map<Member, String[]> map = new ConcurrentHashMap<Member, String[]>(32);
      classReader.accept(new ParameterNameDiscoveringVisitor(clazz, map), 0);
      return map;
    }
    catch (IOException ex) {
      if (logger.isDebugEnabled()) {
        logger.debug("Exception thrown while reading '.class' file for class [" + clazz
View Full Code Here

Examples of org.springframework.ide.eclipse.beans.core.model.IBeansConfig.accept()

        monitor = new NullProgressMonitor();
      }

      IBeansConfig beansConfig = BeansCorePlugin.getModel().getConfig(resource, true);
      ModelElementDetermingModelVisitor v = new ModelElementDetermingModelVisitor(startLine, endLine, resource);
      beansConfig.accept(v, monitor);
      return v.getElement();
    }
    return null;
  }
View Full Code Here

Examples of org.springframework.test.web.servlet.request.MockMultipartHttpServletRequestBuilder.accept()

  @SuppressWarnings("unchecked")
  @Test
  public void testUpload() throws Exception {
    MockMultipartHttpServletRequestBuilder request = fileUpload("/router");
    request.accept(MediaType.ALL).characterEncoding("UTF-8")
        .session(new MockHttpSession());

    request.param("extTID", "1");
    request.param("extAction", "uploadService");
    request.param("extMethod", "upload");
View Full Code Here

Examples of org.springsource.loaded.LoadtimeInstrumentationPlugin.accept()

    // TODO need configurable debug here, ability to dump any code before/after
    for (Plugin plugin : getGlobalPlugins()) {
      if (plugin instanceof LoadtimeInstrumentationPlugin) {
        LoadtimeInstrumentationPlugin loadtimeInstrumentationPlugin = (LoadtimeInstrumentationPlugin) plugin;
        if (loadtimeInstrumentationPlugin.accept(slashedClassName, classLoader, protectionDomain, bytes)) {
          bytes = loadtimeInstrumentationPlugin.modify(slashedClassName, classLoader, bytes);
        }
      }
    }
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.