LocalDocumentTemplate represents a XSL or XFD template available locally to the client Java application.
Ecrion.Ultrascale.Java.jar will combine XML data with the template and will send the resulting XSL-FO or HTML to the server. The server processes the input file(s) and returns a PDF document (or other supported output file format).
More information about Choosing between Local and Server Templates can be found under the How To... section.
Members/Properties
Name |
Description |
The engine to use when applying XSL Transformations to generate XSL-FO from XML. |
|
Represents the parameters transmitted to xslt engine. Inherited from ecrion.ultrascale.DocumentTemplate. |
|
Specifies the language used for XFD translations. Inherited from ecrion.ultrascale.DocumentTemplate. |
Methods
Name |
Description |
Creates a new instance of a server template using a file path. |
|
Creates a new instance of a LocalDocumentTemplate using a file path and a set of parameters. |
|
Creates a new instance of a LocalDocumentTemplate using a file path and a set of parameters. The transformation engine is also specified. |
|
Creates a new instance of a LocalDocumentTemplate using a file path and a set of parameters. The transformation engine and translation language are also specified. |
Creates a new instance of a server template using a file path.
public LocalDocumentTemplate(String templateFilePath)
Parameters
templateFilePath
The template file used to perform layout.
Creates a new instance of a LocalDocumentTemplate using a file path and a set of parameters.
public LocalDocumentTemplate(String templateFilePath, Map parameters)
Parameters
templateFilePath
The template file used to perform layout.
parameters
Pairs of key/values that must be used during the transformation.
Creates a new instance of a LocalDocumentTemplate using a file path and a set of parameters. The transformation engine is also specified.
public LocalDocumentTemplate(String templateFilePath, Map parameters, int xsltEngine)
Parameters
templateFilePath
The template file used to perform layout.
parameters
Pairs of key/values that must be used during the transformation.
xsltEngine
The XSLT engine that must be used for transformation.
Creates a new instance of a LocalDocumentTemplate using a file path and a set of parameters. The transformation engine and translation language are also specified.
public LocalDocumentTemplate(String templateFilePath, Map parameters, Engine.XsltEngine xsltEngine, String languageId)
Parameters
templateFilePath
The template file used to perform layout.
parameters
Pairs of key/values that must be used during the transformation.
xsltEngine
The XSLT engine that must be used for transformation.
languageId
When the template is an XFD (XF Designer) layout template, this parameter specifies the language used for translations.
LocalDocumentTemplate
Creates a new instance of a LocalDocumentTemplate using a file path and a set of parameters. The transformation engine and translation language are also specified.
public LocalDocumentTemplate(Stream templateFileStream, Hashtable parameters, Engine.XsltEngine xsltEngine, String languageId, Stream languageStream, XmlResolver resolver)
Parameters
templateFileStream
The template stream used to perform layout.</param>
parameters
Pairs of key/values that must be used during the transformation.</param>
languageId
When the template is an XFD (XF Designer) layout template, this parameter specifies the language used for translations.</param>
xsltEngine
The XSLT engine that must be used for transformation.</param>
languageStream
The language stream used for translations.</param>
resolver
Resolves external XSL resources.</param>
The engine to use when applying XSL Transformations to generate XSLFO from XML. Default is MSXML.
public Engine.XsltEngine XSLTEngine
The parameters transmitted to XSLT engine. Inherited from Ecrion.Ultrascale.DocumentTemplate.
public Map XsltParameters
Specifies the language used for XFD translations. Inherited from Ecrion.Ultrascale.DocumentTemplate.
public String LanguageID