You are here

render

render(sourceNode, renditionDefQName) this method uses a rendition definition to produce a rendition from a specified node.

Parameters

sourceNode
The node for which a rendition should be created
renditionDefQName
The qname of the rendition definition to use

Returns

Returns the new rendition object (a ScriptNode) object.

render(sourceNode, scriptRenditionDef)

render(sourceNode, renditionDefQName) this method uses a rendition definition to produce a rendition from a specified node.

Parameters

sourceNode
The node for which a rendition should be created
scriptRenditionDef
The ScriptRenditionDefinition object to use to render the rendition.

Returns

Returns the new rendition object (a ScriptNode) object.