Examples of process()


Examples of org.terasology.world.propagation.StandardBatchPropagator.process()

                        lightPropagator.propagateFrom(new Vector3i(x, y, z), block.getLuminance());
                    }
                }
            }
        }
        lightPropagator.process();
    }

    private static void populateSunlight(LitChunk chunk) {
        PropagationRules sunlightRules = new SunlightPropagationRules(chunk);
        BatchPropagator lightPropagator = new StandardBatchPropagator(sunlightRules, new SingleChunkView(sunlightRules, chunk));
View Full Code Here

Examples of org.thymeleaf.TemplateEngine.process()

        }
        if (templateCharacterEncoding != null) {
            response.setCharacterEncoding(templateCharacterEncoding);
        }
       
        viewTemplateEngine.process(templateName, context, templateFragmentSpec, response.getWriter());
       
    }


View Full Code Here

Examples of org.thymeleaf.dom.Document.process()

            logger.debug("[THYMELEAF][{}] Starting process on template \"{}\" using mode \"{}\"",
                    new Object[] { TemplateEngine.threadIndex(), templateName, templateMode });
        }

        if (document != null) {
            document.process(arguments);
        }
       
        if (logger.isDebugEnabled()) {
            logger.debug("[THYMELEAF][{}] Finished process on template \"{}\" using mode \"{}\"",
                    new Object[] { TemplateEngine.threadIndex(), templateName, templateMode });
View Full Code Here

Examples of org.thymeleaf.spring3.SpringTemplateEngine.process()

        ITemplateResolver templateResolver = new MemoryTemplateResolver(code, templateMode);
        SpringTemplateEngine templateEngine = new SpringTemplateEngine();
        templateEngine.setMessageResolver(messageResolver);
        templateEngine.setTemplateResolver(templateResolver);
        templateEngine.initialize();
        return templateEngine.process(TEMPLATE_NAME, context);
    }   
}
View Full Code Here

Examples of org.torquebox.messaging.component.MessageProcessorComponent.process()

                return; // racist!
            }

            MessageProcessorComponent component = (MessageProcessorComponent) group.getComponentResolver().resolve( this.currentRuby );
            try {
                component.process( message, getSession(), group );
                if (isXAEnabled()) {
                    log.trace( "Committing XA transaction for messageId " + message.getJMSMessageID() );
                    commitXATransaction();
                } else {
                    log.trace( "Committing non-XA transaction for messageId " + message.getJMSMessageID() );
View Full Code Here

Examples of org.tuba.operation.emftext2text.operation.EMFText2TextOperation.process()

    EMFTextRepresentation representation = new EMFTextRepresentation(testFile, metaInformation);
    assertNotNull(representation);
    assertNotNull(representation.getSourceText());
    System.out.println(representation.getSourceText());

    IArtefactRepresentation rep2 = operation.process(representation, null);
    assertNotNull(rep2);
    assertTrue(rep2 instanceof StyledTextRepresentation);
    assertNotNull(((StyledTextRepresentation) rep2).getDocument());
    System.out.println(((StyledTextRepresentation) rep2).getDocument());
  }
View Full Code Here

Examples of org.tuba.plugins.IArtefactOperation.process()

    for (XMLArtefactOperation operation : operations) {
      // TODO externalize
      logger.info("apply operation '" + operation.getId() + "'"); //$NON-NLS-1$ //$NON-NLS-2$
      IArtefactOperation operationInstance = PluginManager.getInstance()
          .instantiateOperation(operation.getId());
      representation = operationInstance.process(representation,
          operation.getConfiguration());
      // TODO externalize
      logger.info("representation: " + representation.toString()); //$NON-NLS-1$
      monitor.doLocalStep();
    }
View Full Code Here

Examples of org.tuba.spatschorke.diploma.operation.ecoretools.generatediagram.Operation.process()

    String curDir = System.getProperty("user.dir"); //$NON-NLS-1$
    String modelFile = curDir + "/test/CompositePattern.ecore"; //$NON-NLS-1$
    EcoreModelRepresentation model = new EcoreModelRepresentation(modelFile);

    Operation operation = new Operation();
    IArtefactRepresentation artefact = operation.process(model, null);
    Assert.assertNotNull(artefact);

    EcoreToolsGMFDiagramURI diagram = (EcoreToolsGMFDiagramURI) artefact;
    String fileName = diagram.getDiagramURI().toFileString();
    File file = new File(fileName);
View Full Code Here

Examples of org.tuba.spatschorke.diploma.operation.image.scale.ImageScaler.process()

    String imageFile = curDir + TEST_IMAGE;

    ImageRepresentation image = new ImageRepresentation(
        new File(imageFile), ImageType.PNG);
    ImageScaler scaler = new ImageScaler();
    IArtefactRepresentation result = scaler.process(image, configuration);

    Assert.assertNotNull(result);
    String type = result.getType();
    Assert.assertEquals(ImageRepresentation.TYPE, type);
View Full Code Here

Examples of org.tuba.spatschorke.diploma.operation.sdedit.image.ImageGenerator.process()

  public void test() {
    SDEditFile sdeditFile = new SDEditFile(new File(
        "test" + File.separator + "test.sdx")); //$NON-NLS-1$ //$NON-NLS-2$
    ImageGenerator generator = new ImageGenerator();

    ImageRepresentation image = generator.process(sdeditFile, null);
    Assert.assertNotNull(image);
    File f = image.getImageFile();
    Assert.assertNotNull(f);
    Assert.assertTrue(f.exists());
    Assert.assertTrue(f.isFile());
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.