Examples of render()


Examples of org.clearsilver.CS.render()

      CS cs = factory.newCs(hdf);
      try {
        cs.setFileLoader(fileLoader);
        cs.parseFile(templateName);
        output.append(cs.render());
      } finally {
        cs.close();
      }
    } finally {
      hdf.close();
View Full Code Here

Examples of org.commontemplate.core.Template.render()

      this.context.put(SecurityContext.CURRENT_USER_ROlE, userPrincipal);
      this.context.put(SecurityContext.USER_IS_LOGIN, userPrincipal!=null);
      this.context.put("ctx", result);
      this.context.put("xctx",session.getAttribute(HtmlResponseWriter.OPTION_KEY));
     
      template.render(this.context);
     
      String content = this.context.getOut().toString();
     
      //输出到页面
      out.write(content.getBytes("utf-8"));
View Full Code Here

Examples of org.coode.owlapi.rdf.rdfxml.RDFXMLRenderer.render()

  }

  public void endRendering() throws IOException {
    OWLOntology ontology = OWL.Ontology( axioms );
    RDFXMLRenderer renderer = new RDFXMLRenderer(OntologyUtils.getOWLOntologyManager(), ontology, writer);
    renderer.render();
  }

}
View Full Code Here

Examples of org.docx4j.convert.out.FORenderer.render()

// ======================================================================== 
  public void output(Document xslfo, OutputStream os, Configuration fopConfigZZZ) throws Docx4JException {
  FORenderer renderer = FORendererApacheFOP.getInstance();
  String foDocument = XmlUtils.w3CDomNodeToString(xslfo);
    renderer.render(foDocument, foSettings, false, null, os);
  }
}
View Full Code Here

Examples of org.eclipse.birt.chart.factory.Generator.render()

        final Generator gr = Generator.instance();
        RunTimeContext rtc = new RunTimeContext();

        GeneratedChartState state = gr.build(deviceRenderer.getDisplayServer(), cm, bo, null, rtc, null);

        gr.render(deviceRenderer, state);
      } catch (Exception ex) {
        paintError = ex;
      } finally {
        gc.dispose();
        if (deviceRenderer != null) {
View Full Code Here

Examples of org.eclipse.birt.report.engine.api.IRenderTask.render()

    optionsPDF.setOutputFileName("D:/Temp/output.pdf");
    optionsPDF.setOutputFormat(HTMLRenderOption.OUTPUT_FORMAT_PDF);
    renderTask.setRenderOption(optionsPDF);

    // render
    renderTask.render();

    // render the report and destroy the engine
    // Note - If the program stays resident do not shutdown the Platform or the Engine
//    rptdoc.close();
    renderTask.close();
View Full Code Here

Examples of org.eclipse.sapphire.ui.Presentation.render()

        innerComposite.setLayout( glayout( 2, 0, 0 ) );
        innerComposite.setLayoutData( gdfill() );
       
        final Presentation presentation = this.part.createPresentation( null, innerComposite );
       
        presentation.render();
       
        final String initialFocusProperty = this.part.definition().getInitialFocus().content();
       
        if( initialFocusProperty != null )
        {
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.swt.SapphireKeyboardActionPresentation.render()

                    {
                        throw new IllegalStateException();
                    }
                }
               
                actionPresentationKeyboard.render();
               
                updateUserInterfaceOp.run();
               
                final Listener modelPropertyListener = new FilteredListener<PropertyEvent>()
                {
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.swt.SapphireToolBarActionPresentation.render()

        this.actionPresentationManager = new SapphireActionPresentationManager( this, actions );
        final SapphireToolBarActionPresentation toolBarActionsPresentation = new SapphireToolBarActionPresentation( actionPresentationManager );
       
        final ToolBar toolbar = new ToolBar( this.section, SWT.FLAT | SWT.HORIZONTAL | SWT.RIGHT );
        toolBarActionsPresentation.setToolBar( toolbar );
        toolBarActionsPresentation.render();
        this.section.setTextClient( toolbar );
       
        final SapphireKeyboardActionPresentation keyboardActionsPresentation = new SapphireKeyboardActionPresentation( actionPresentationManager );
        keyboardActionsPresentation.attach( toolbar );
        keyboardActionsPresentation.render();
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.swt.SapphireToolBarManagerActionPresentation.render()

        if (actions != null && !actions.isEmpty())
        {
          final SapphireActionPresentationManager actionPresentationManager = new SapphireActionPresentationManager(this.diagramPresentation, actions);
          final SapphireToolBarManagerActionPresentation actionPresentation = new SapphireToolBarManagerActionPresentation( actionPresentationManager );
          actionPresentation.setToolBarManager( this.header.getToolBarManager() );
          actionPresentation.render();
        }
       
        refreshPageHeaderText();
        refreshPageHeaderImage();
  }
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.