从指定节点生成 rendition 。

render(sourceNode, scriptRenditionDef)

使用 rendition 定义从指定节点生成 rendition 。

参数

  • sourceNode
    为其创建 rendition 的节点。
  • scriptRenditionDef
    用于生成 rendition 的ScriptRenditionDefinition对象。

返回值

返回新的 rendition 对象(ScriptNode)对象。

render(sourceNode, renditionDefQName)

使用保存的 rendition 定义从指定节点生成 rendition 。

参数

返回值

返回新的 rendition 对象(ScriptNode)对象。

文档更新时间: 2019-07-09 22:35   作者:凌云文档