Class ecrion.ultrascale.ServerDocumentTemplate

Top Previous Topic Next Topic  Print this topic

ServerDocumentTemplate represents a XSL or XFD template installed in a remote instance of XF Rendering Server. In this scenario, the client sends the XML and a template unique ID to the server and returns the PDF output.

 

Managing Server Templates  guide on how to deploy server templates is available.

 

ServerDocumentTemplateProcessFlow(Java)

More information about Choosing between Local and Server Templates can be found under the How To... section.

 

Members/Properties

 

Name

Description

TemplateID

A string that uniquely identifies a server template.

XsltParameters

Represents the parameters transmitted to xslt engine. Inherited from ecrion.ultrascale.DocumentTemplate.

LanguageID

Specifies the language used for XFD translations. Inherited from ecrion.ultrascale.DocumentTemplate.

 

Methods

 

Name

Description

ServerDocumentTemplate

Creates a new instance of a server template using the template identifier.

ServerDocumentTemplate

Creates a new instance of a server template using the template identifier and a set of parameters.

ServerDocumentTemplate

Creates a new instance of a server template using the template identifier, a set of parameters and a language identifier.

 

ServerDocumentTemplate

Creates a new instance of a server template using the template identifier.

 

 

       public ServerDocumentTemplate(String serverTemplateId)

 

                       

Parameters

 

serverTemplateId

       The template ID configured in the Management Console on the server.

 

ServerDocumentTemplate

Creates a new instance of a server template using the template identifier and a set of parameters.

 

 

       public ServerDocumentTemplate(String serverTemplateId, Map parameters)

 

                       

Parameters

 

serverTemplateId

       The template ID configured in the Management Console on the server.

parameters

       Pairs of key/values that must be used during the transformation.

 

ServerDocumentTemplate

Creates a new instance of a server template using the template identifier, a set of parameters and a language identifier.

 

 

       public ServerDocumentTemplate(String serverTemplateId, Map parameters, String languageId)

 

                       

Parameters

 

serverTemplateId

       The template ID configured in the Management Console on the server.

parameters

       Pairs of key/values that must be used during the transformation.

languageId

       When the template is an XFD (XF Designer) layout template, this parameter specifies the language used for translations.

 

 

TemplateID

A string that uniquely identifies a server template. It must be specified as "applicationname:templatename" where template name includes the file extension (usually .xfd, .xsl, .xslt).

 

 

       public String TemplateID

 

 

XsltParameters

The parameters transmitted to XSLT engine. Inherited from ecrion.ultrascale.DocumentTemplate

 

 

       public Map XsltParameters

 

 

LanguageID

Specifies the language used for .XFD translations.  Inherited from ecrion.ultrascale.DocumentTemplate

 

 

       public String LanguageID