Class Reference
EnsLib.XSLT.Common
Server:appadmin-00044-deployment-6bf4cbc86d-9f4xc
Instance:IRIS
User:SuperUser
 
-
  [USER] >  [EnsLib] >  [XSLT] >  [Common]
Private  Storage

class EnsLib.XSLT.Common extends %RegisteredObject

Common utilities

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 10 11


Summary

Properties
CallbackHandler CallbackHandlerClass CompiledStyleSheets CompiledStyleSheetsInfo
Parameters RuntimeMode Stylesheet StylesheetDir
StylesheetDirFileSpec

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 OnInit OnTearDown
Transform TransformFromObject TransformIntoObject getParameters
loadStylesheetFromStream loadStylesheetFromXData

Subclasses
EnsLib.XSLT.TransformedService EnsLib.XSLT.Transformer

Parameters

• parameter DEFAULTSSKEY = "DEFAULT";
• parameter SETTINGS = "Stylesheet,StylesheetDir,StylesheetDirFileSpec,Parameters,RuntimeMode,CallbackHandlerClass";

Properties

• property CallbackHandler as %XML.XSLT.CallbackHandler [ InitialExpression = $$$NULLOREF ];
• property CallbackHandlerClass as Ens.DataType.Class;
• property CompiledStyleSheets as array of %XML.XSLT.CompiledStyleSheet;
• property CompiledStyleSheetsInfo as array of %List;
• property Parameters as array of %String(MAXLEN=512);
• property RuntimeMode as %String(DISPLAYLIST=",No Caching,Development,Production",VALUELIST=",N,D,P") [ InitialExpression = "P" ];
• property Stylesheet as Ens.DataType.Filename;
• property StylesheetDir as Ens.DataType.Directory;
• property StylesheetDirFileSpec as %String(MAXLEN=512) [ InitialExpression = "*.xsl*" ];

Methods

• method GetStyleSheetByKey(pStyleSheetKey As %String = ..#DEFAULTSSKEY) as %XML.XSLT.CompiledStyleSheet
Override to select stylesheets by key differently
• method HasStyleSheetByKey(pKey As %String = ..#DEFAULTSSKEY) as %Boolean
• method OnInit() as %Status
This user callback method is called just after %OnNew()
• method OnTearDown() as %Status
This user callback method is called just before %OnClose()
• method Transform(pInput, pSSKey As %String = ..#DEFAULTSSKEY, ByRef pParameters=$$$NULLOREF, ByRef pOutput) as %Status
Do the actual transformation
• method TransformFromObject(pObject As %XML.Adaptor, pSSKey As %String = ..#DEFAULTSSKEY, ByRef pOutput As %Stream.GlobalCharacter, ByRef pXMLName As %String, ByRef pParameters=$$$NULLOREF, pAsStream As %Boolean = 1) as %Status
• method TransformIntoObject(pInput, pSSKey As %String = ..#DEFAULTSSKEY, pClassname As %String, ByRef pOutput As %XML.Adaptor, ByRef pXMLName As %String, ByRef pParameters=$$$NULLOREF) as %Status
• classmethod getParameters(pParameters As %Collection.ArrayOfDT, ByRef pParams) as %Status
• method loadStylesheetFromStream(pStream As %Stream.Object, pName As %String = ..#DEFAULTSSKEY) as %Status
Load a stylesheet from a stream
• method loadStylesheetFromXData(pClass As %String, pXData As %String, pName As %String = ..#DEFAULTSSKEY) as %Status
Load a stylesheet from an XDATA block


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.