Examples of render()


Examples of org.apache.wicket.markup.html.HeaderPartContainer.render()

        // to the page or any other container in the hierarchy.
        if (htmlContainer.okToRenderComponent(headerPart.getScope(), headerPart.getId()))
        {
          // make sure the Page is accessible
          headerPart.setParent(htmlContainer);
          headerPart.render();
        }
      }

      // Position the stream after <wicket:head>
      markupStream.skipComponent();
View Full Code Here

Examples of org.aperteworkflow.ui.view.ViewRenderer.render()

    try {
      comp = watch.watchTask("Really rendering", new Callable<Component>() {

        @Override
        public Component call() throws Exception {
          return renderer.render(currentViewData);
        }
      });
    } catch (Exception e) {
      throw new RuntimeException(e);
    }
View Full Code Here

Examples of org.asciidoctor.Asciidoctor.render()

    }

    private void processAsciiDoc(ParserContext context) {
        final Asciidoctor asciidoctor = getEngine();
        Options options = getAsciiDocOptionsAndAttributes(context);
        context.setBody(asciidoctor.render(context.getBody(), options));
    }

    private Options getAsciiDocOptionsAndAttributes(ParserContext context) {
        CompositeConfiguration config = context.getConfig();
        final AttributesBuilder attributes = attributes(config.getStringArray(Keys.ASCIIDOCTOR_ATTRIBUTES));
View Full Code Here

Examples of org.auraframework.def.RendererDef.render()

            if (def.getRendererDescriptor() != null) {
                RendererDef rendererDef = def.getRendererDescriptor().getDef();
                if (rendererDef.isLocal()) {
                    StringWriter sw = new StringWriter();
                    rendererDef.render(this, sw);
                    // Not writing directly to json.appendable because then it wouldn't get escaped.
                    // ideally Json would have a FilterWriter that escapes that we could use here.
                    json.writeMapEntry("rendering", sw.toString());
                }
            }
View Full Code Here

Examples of org.auraframework.impl.java.renderer.JavaRendererDef.render()

     * @expectedResults JavaRendererDef.render() function accepts a character stream and returns the stream, populated
     *                  with markup.
     */
    public void testInvokeRender() throws Exception {
        JavaRendererDef def = createRenderer("java://org.auraframework.impl.renderer.sampleJavaRenderers.TestSimpleRenderer");
        def.render(dummyCmp, sw);
        this.goldFileText(sw.toString());
    }

    private class AppendableThrower implements Appendable {
        private final IOException ioe;
View Full Code Here

Examples of org.auraframework.service.RenderingService.render()

            out.append((String) value);
        } else if (value instanceof List) {
            List<?> kids = (List<?>) value;
            for (Object kid : kids) {
                if (kid instanceof BaseComponent) {
                    renderingService.render((BaseComponent<?, ?>) kid, out);
                } else if (kid instanceof ComponentDefRef) {
                    Component cmp = ((ComponentDefRef) kid).newInstance(component);
                    renderingService.render(cmp, out);
                }
            }
View Full Code Here

Examples of org.axsl.galley.AreaNode.render()

     * @throws GalleyVisitorException For errors during rendering.
     */
    public void renderChildren(final AreaNode area) throws GalleyVisitorException {
        for (int i = 0; i < area.getChildCount(); i++) {
            final AreaNode child = area.getChildAt(i);
            child.render(this);
        }
    }

    /**
     * {@inheritDoc}
 
View Full Code Here

Examples of org.axsl.output.Renderer.render()

     */
    public void pageComplete(final AreaTreeEvent event) {
        final org.axsl.galley.Page page = event.getPage();
        final Renderer renderer = (Renderer) this.outputTarget;
        try {
            renderer.render(page);
        } catch (final GalleyVisitorException e) {
            this.getLogger().error("Rendering error: " + e.getMessage());
        }
        this.pageCount++;
    }
View Full Code Here

Examples of org.b3log.latke.servlet.renderer.AbstractHTTPResponseRenderer.render()

        if (null == renderer) {
            renderer = new HTTP404Renderer();
        }

        renderer.render(context);
    }

    /**
     * Gets the query string(key1=value2&key2=value2&....) for the
     * specified HTTP servlet request.
View Full Code Here

Examples of org.beangle.struts2.view.template.TemplateEngine.render()

    return false;
  }

  protected void mergeTemplate(Writer writer) throws Exception {
    TemplateEngine engine = getContainer().getInstance(TemplateEngine.class);
    engine.render(getTheme().getTemplatePath(getClass(), engine.getSuffix()), stack, writer, this);
  }

  /**
   * 将所有额外参数链接起来
   *
 
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.