Examples of render()


Examples of org.apache.isis.viewer.restfulobjects.rendering.domainobjects.ListReprRenderer.render()

        if (linkFollowSpecs.matches(link)) {

            final ListReprRenderer renderer = new ListReprRenderer(getRendererContext(), linkFollowSpecs, JsonRepresentation.newMap());
            renderer.usingLinkToBuilder(new DomainServiceLinkTo()).withLink(Rel.SELF, "services").with(serviceAdapters);

            link.mapPut("value", renderer.render());
        }

        getLinks().arrayAdd(link);
    }
View Full Code Here

Examples of org.apache.isis.viewer.restfulobjects.rendering.domaintypes.DomainTypeReprRenderer.render()

        final LinkFollowSpecs linkFollower = getLinkFollowSpecs().follow("links");
        if (linkFollower.matches(link)) {
            final DomainTypeReprRenderer renderer = new DomainTypeReprRenderer(getRendererContext(), linkFollower, JsonRepresentation.newMap());
            renderer.with(objectAdapter.getSpecification());
            link.mapPut("value", renderer.render());
        }
        getLinks().arrayAdd(link);
    }

    private String getDomainType() {
View Full Code Here

Examples of org.apache.isis.viewer.restfulobjects.rendering.domaintypes.TypeListReprRenderer.render()

        final LinkFollowSpecs linkFollower = getLinkFollowSpecs().follow("links");
        if (linkFollower.matches(link)) {
            final TypeListReprRenderer renderer = new TypeListReprRenderer(getRendererContext(), linkFollower, JsonRepresentation.newMap());
            renderer.withLink(Rel.SELF, "domain-types").with(specifications);
            link.mapPut("value", renderer.render());
        }

        getLinks().arrayAdd(link);
    }
View Full Code Here

Examples of org.apache.jetspeed.factory.PortletInstance.render()

            RenderResponse renderResponse = (RenderResponse)portletResponse;
           
            renderResponse.setContentType("text/html");           
// TODO: ???    renderResponse.getWriter().print(portletDefinition.getName());

                portletInstance.render(renderRequest, renderResponse);
        }
        }
        finally
        {
            servletRequest.removeAttribute(ContainerConstants.PORTLET_CONFIG);
View Full Code Here

Examples of org.apache.maven.project.validation.ModelValidationResult.render()

        ModelValidationResult result = modelValidator.validate( model );

        if ( result.getMessageCount() > 0 )
        {
            throw new MojoExecutionException( "The artifact information is incomplete or not valid:\n"
                + result.render( "  " ) );
        }
    }

    /**
     * Generates a minimal model from the user-supplied artifact information.
View Full Code Here

Examples of org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.render()

        DependenciesRenderer r =
            new DependenciesRenderer( getSink(), locale, getI18N( locale ), getLog(), settings, dependencies,
                                      dependencyTreeNode, config, repoUtils, artifactFactory, mavenProjectBuilder,
                                      remoteRepositories, localRepository );
        r.render();
    }

    /** {@inheritDoc} */
    public String getOutputName()
    {
View Full Code Here

Examples of org.apache.maven.report.projectinfo.dependencies.renderer.DependencyManagementRenderer.render()

        DependencyManagementRenderer r =
            new DependencyManagementRenderer( getSink(), locale, getI18N( locale ), getLog(), getManagementDependencies(),
                                              artifactMetadataSource, artifactFactory, mavenProjectBuilder, remoteRepositories,
                                              localRepository, repoUtils );
        r.render();
    }

    /** {@inheritDoc} */
    public String getOutputName()
    {
View Full Code Here

Examples of org.apache.maven.settings.validation.SettingsValidationResult.render()

    {
        SettingsValidationResult validationResult = validator.validate( settings );

        if ( validationResult.getMessageCount() > 0 )
        {
            throw new IOException( "Failed to validate Settings file at " + location + "\n" + validationResult.render( "\n" ) );
        }
    }

    public SettingsValidationResult validateSettings( File settingsFile )
    {
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.Renderer.render()

    UIXRenderingContext context,
    UINode           node) throws IOException
  {
    Renderer renderer = _getRenderer(context, node);
    if (renderer != null)
      renderer.render(context, node);
  }

  public NodeRole getNodeRole(
    UIXRenderingContext context,
    UINode           node)
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.UINode.render()

        _renderSpacerCell(context);

        _renderStartTableCell(context, node, writer, renderAsTable, false);

        nextButton.render(context);
        context.setLocalProperty(_NEXT_BUTTON_KEY, null);

      }

      writer.endElement("td");
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.