HS.Util.Transformer
class HS.Util.Transformer extends EnsLib.XSLT.Common
Deprecated - please use HS.Util.XSLTTransformer instead We won't remove this, because it is in extensive use It's OK to use for files, but not for style sheets in XDATA blocks. Utility class for XSLT transformationsMethod Inventory
Methods
classmethod LoadAndTransform(pStreamInput As %Stream.TmpCharacter, Output pOutputStream As %Stream.TmpCharacter, Output pTransformer As HS.Util.Transformer, pDirectory As %String, pSpec As %String, pFile As %String = "", ByRef pParameters) as %Status
Additional directories to be loaded after the OnInit
classmethod LoadURL(pURL As %String, ByRef pTransformer As HS.Util.Transformer) as %Status
when using a URL could be file:///usr/bin/somefile.xsl
or even http://...
In OnInit... Do ##class(HS.Util.Transformer).LoadURL(pURL,.tTransformer)
when you want to transform Do tTransformer.Transform(pInput,pURL,.pParameters,.tOutput)
XDATA is not supported.
Called by the LoadURL method, the instance method allows calling some inherited private methods
method OnInit() as %Status
Inherited description: This user callback method is called just after %OnNew()
Inherited Members
Inherited Properties
- CallbackHandler
- CallbackHandlerClass
- CompiledStyleSheets
- CompiledStyleSheetsInfo
- Parameters
- RuntimeMode
- Stylesheet
- StylesheetDir
- StylesheetDirFileSpec
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- GetStyleSheetByKey()
- HasStyleSheetByKey()
- OnTearDown()
- Transform()
- TransformFromObject()
- TransformIntoObject()
- getParameters()
- loadStylesheetFromStream()
- loadStylesheetFromXData()