Package com.googlecode.jatl

Examples of com.googlecode.jatl.Html


    private String getBreadcrumbs() {
      final int size = anchors.size();

      StringWriter writer = new StringWriter();
      new Html(writer) {
        {
          ul().classAttr("breadcrumb");
          for (int i = 0; i < size; i++) {
            Anchor anchor = anchors.get(i);
            li();
View Full Code Here


     * @param oper the logical operator
     * @return a string representation of the html
     */
    protected String genNodeHtml(P2jLogicalRelationalOperator oper) {
        StringWriter writer = new StringWriter();
        Html html = new Html(writer);

        html.font().attr("point-size", "12").table().border("0").attr("cellborder", "1").cellspacing("0");
        genOperationRow(html, oper);
        genMiscRow(html, oper);
        genAliasRow(html, oper);
        genJoinExpressions(html, oper);
        genSchema(html, oper);
        html.endAll();
        return writer.toString();
    }
View Full Code Here

    private String getBreadcrumbs() {
      final int size = anchors.size();

      StringWriter writer = new StringWriter();
      new Html(writer) {
        {
          ul().classAttr("breadcrumb");
          for (int i = 0; i < size; i++) {
            Anchor anchor = anchors.get(i);
            li();
View Full Code Here

    }

    private void generate(final HtmlPageBuilder<Writer> builder) {
        final String baseCssLink = builder.requireResource(getClass().getResource("/org/gradle/reporting/base-style.css"));
        final String cssLink = builder.requireResource(getClass().getResource("style.css"));
        new Html(builder.getOutput()) {{
            html();
                head();
                    meta().httpEquiv("Content-Type").content("text/html; charset=utf-8");
                    meta().httpEquiv("x-ua-compatible").content("IE=edge");
                    link().rel("stylesheet").type("text/css").href(baseCssLink).end();
View Full Code Here

import java.util.List;

public class IndexPageGenerator extends HtmlPageGenerator<ResultsStore> {
    @Override
    public void render(final ResultsStore store, Writer writer) throws IOException {
        new Html(writer) {{
            List<String> versions = store.getVersions();
            html();
                head();
                    headSection(this);
                    title().text("Profile report").end();
View Full Code Here

import java.util.List;

public class TestPageGenerator extends HtmlPageGenerator<TestExecutionHistory> {
    @Override
    public void render(final TestExecutionHistory testHistory, Writer writer) throws IOException {
        new Html(writer) {{
            html();
                head();
                    headSection(this);
                    title().text(String.format("Profile test %s report", testHistory.getName())).end();
                    script();
View Full Code Here

        builder.requireResource(getClass().getResource(getReportResourcePath("tree.css")));
        builder.requireResource(getClass().getResource(getReportResourcePath("d.gif")));
        builder.requireResource(getClass().getResource(getReportResourcePath("d.png")));
        builder.requireResource(getClass().getResource(getReportResourcePath("throbber.gif")));

        new Html(builder.getOutput()) {{
            html();
                head();
                    meta().httpEquiv("Content-Type").content("text/html; charset=utf-8");
                    meta().httpEquiv("x-ua-compatible").content("IE=edge");
                    link().rel("stylesheet").type("text/css").href(baseCssLink).end();
View Full Code Here

    @Override
    public void render(final Set<Project> projects, final HtmlPageBuilder<Writer> builder) throws IOException {
        final String baseCssLink = builder.requireResource(getClass().getResource("/org/gradle/reporting/base-style.css"));
        final String cssLink = builder.requireResource(getClass().getResource("/org/gradle/api/tasks/diagnostics/htmldependencyreport/style.css"));

        new Html(builder.getOutput()) {{
            html();
                head();
                    meta().httpEquiv("Content-Type").content("text/html; charset=utf-8");
                    meta().httpEquiv("x-ua-compatible").content("IE=edge");
                    link().rel("stylesheet").type("text/css").href(baseCssLink).end();
View Full Code Here

TOP

Related Classes of com.googlecode.jatl.Html

Copyright © 2018 www.massapicom. 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.