Skip to main content

%XML.XSLT3.CompiledPackage

Class %XML.XSLT3.CompiledPackage Extends %RegisteredObject

Implements an interface to the XSLT3 CompiledPackage. %XML.XSLT3.CompiledPackage should never be created directly with %New(), but via the CreateFromFile() or CreateFromStream() factory methods

Properties

ReleaseOnClose

Property ReleaseOnClose As %Boolean [ InitialExpression = 1 ];

Methods

CreateFromFile

ClassMethod CreateFromFile(source As %String, Output compiledPackage As %XML.XSLT3.CompiledPackage, errorHandler As %XML.XSLT.ErrorHandler = {$$$NULLOREF}, gateway As %Net.Remote.Gateway = {$$$NULLOREF}) As %Status

Use this method a create an instance of an %XML.XSLT3.CompiledPackage from a file path name

CreateFromStream

ClassMethod CreateFromStream(stream As %Stream.Object, Output compiledPackage As %XML.XSLT3.CompiledPackage, errorHandler As %XML.XSLT.ErrorHandler = {$$$NULLOREF}, gateway As %Net.Remote.Gateway = {$$$NULLOREF}, XSLBaseDir As %String = "") As %Status

Use this method to create an instance of an %XML.XSLT3.CompiledPackage from a binary stream

ReleaseFromServer

ClassMethod ReleaseFromServer(compiledPackage As %XML.XSLT3.CompiledPackage, errorHandler As %XML.XSLT.ErrorHandler = {$$$NULLOREF}, gateway As %Net.Remote.Gateway = {$$$NULLOREF}) As %Status

%OnClose

Method %OnClose() As %Status [ Private, ProcedureBlock = 1 ]