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 aBlock
or component instance, to a string.renderAsDocument
(Object object) Renders an object to aDocument
following 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:PartialTemplateRenderer
Renders an object to aDocument
following 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:
renderAsDocument
in interfacePartialTemplateRenderer
- Parameters:
object
- to render, aRenderCommand
, or coercible to one- Returns:
- a
Document
.
-
render
Description copied from interface:PartialTemplateRenderer
Renders an object, probably aBlock
or 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 implementRenderCommand
or being able to be coerced to it byTypeCoercer
.- Specified by:
render
in interfacePartialTemplateRenderer
- Parameters:
object
- an object, probably aBlock
or component instance orRenderCommand
.
-