From RTSC-Pedia
revision tip
LANDSCAPE orientation[printable version] [offline version] | offline version generated on 04-Aug-2010 21:08 UTC |
XDCscript - Template-Object.genStream
Generate textual output stream from a template
Contents |
Synopsis
| var tplt = xdc.loadTemplate(templateFile); tplt.genStream(outStream, thisObj, args); |
Parameters
- outStream
- a java.io.PrintStream where all output is written and referenced within a template via $out
- thisObj
- object that is referenced within a template via this
- args
- array of arguments referenced within a template via $args
Description
Generates output to outStream, an instance of class java.io.PrintStream. All three parameters are passed to the underlying template generation function. This method can be recursively invoked from within a template.
See also
XDCscript - Template-Body | Contents of the template file |
XDCscript - Template-Object.genFile | Generate textual output file from a template |
[printable version] [offline version] | offline version generated on 04-Aug-2010 21:08 UTC |
Copyright © 2008 The Eclipse Foundation. All Rights Reserved