Class PartialTemplateRendererImpl
java.lang.Object
org.apache.tapestry5.internal.services.PartialTemplateRendererImpl
- All Implemented Interfaces:
PartialTemplateRenderer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRenders an object, probably aBlockor component instance, to a string.renderAsDocument(Object object) Renders an object to aDocumentfollowing the same rules asPartialTemplateRenderer.render(Object)This method supposes any kind of initialization needed was already done.
-
Constructor Details
-
PartialTemplateRendererImpl
-
-
Method Details
-
renderAsDocument
Description copied from interface:PartialTemplateRendererRenders an object to aDocumentfollowing the same rules asPartialTemplateRenderer.render(Object)This method supposes any kind of initialization needed was already done. CSS and JavaScript inclusions or importings are ignored.- Specified by:
renderAsDocumentin interfacePartialTemplateRenderer- Parameters:
object- to render, aRenderCommand, or coercible to one- Returns:
- a
Document.
-
render
Description copied from interface:PartialTemplateRendererRenders an object, probably aBlockor component instance, to a string. This method supposes any kind of initialization needed was already done. CSS and JavaScript inclusions or importings are ignored. The object must implementRenderCommandor being able to be coerced to it byTypeCoercer.- Specified by:
renderin interfacePartialTemplateRenderer- Parameters:
object- an object, probably aBlockor component instance orRenderCommand.
-