Skip to main content

EnsLib.XSLT.Common

class EnsLib.XSLT.Common extends %Library.RegisteredObject

Common utilities

Property Inventory

Method Inventory

Parameters

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

Properties

property CallbackHandler as %XML.XSLT.CallbackHandler [ InitialExpression = $$$NULLOREF ];
Property methods: CallbackHandlerGet(), CallbackHandlerGetSwizzled(), CallbackHandlerIsValid(), CallbackHandlerNewObject(), CallbackHandlerSet()
property CallbackHandlerClass as Ens.DataType.Class;
Property methods: CallbackHandlerClassDisplayToLogical(), CallbackHandlerClassGet(), CallbackHandlerClassIsValid(), CallbackHandlerClassLogicalToDisplay(), CallbackHandlerClassLogicalToOdbc(), CallbackHandlerClassNormalize(), CallbackHandlerClassSet()
property CompiledStyleSheets as array of %XML.XSLT.CompiledStyleSheet;
Property methods: CompiledStyleSheetsBuildValueArray(), CompiledStyleSheetsCollectionToDisplay(), CompiledStyleSheetsCollectionToOdbc(), CompiledStyleSheetsDisplayToCollection(), CompiledStyleSheetsGet(), CompiledStyleSheetsGetObject(), CompiledStyleSheetsGetObjectId(), CompiledStyleSheetsGetSwizzled(), CompiledStyleSheetsIsValid(), CompiledStyleSheetsOdbcToCollection(), CompiledStyleSheetsSet(), CompiledStyleSheetsSetObject(), CompiledStyleSheetsSetObjectId()
property CompiledStyleSheetsInfo as array of %List;
Property methods: CompiledStyleSheetsInfoBuildValueArray(), CompiledStyleSheetsInfoCollectionToDisplay(), CompiledStyleSheetsInfoCollectionToOdbc(), CompiledStyleSheetsInfoDisplayToCollection(), CompiledStyleSheetsInfoGet(), CompiledStyleSheetsInfoGetObject(), CompiledStyleSheetsInfoGetObjectId(), CompiledStyleSheetsInfoGetSwizzled(), CompiledStyleSheetsInfoIsValid(), CompiledStyleSheetsInfoLogicalToOdbc(), CompiledStyleSheetsInfoOdbcToCollection(), CompiledStyleSheetsInfoOdbcToLogical(), CompiledStyleSheetsInfoSet(), CompiledStyleSheetsInfoSetObject(), CompiledStyleSheetsInfoSetObjectId()
property Parameters as array of %String (MAXLEN = 512);
Property methods: ParametersBuildValueArray(), ParametersCollectionToDisplay(), ParametersCollectionToOdbc(), ParametersDisplayToCollection(), ParametersDisplayToLogical(), ParametersGet(), ParametersGetObject(), ParametersGetObjectId(), ParametersGetSwizzled(), ParametersIsValid(), ParametersLogicalToDisplay(), ParametersLogicalToOdbc(), ParametersNormalize(), ParametersOdbcToCollection(), ParametersSet(), ParametersSetObject(), ParametersSetObjectId()
property RuntimeMode as %String (DISPLAYLIST = ",No Caching,Development,Production", VALUELIST = ",N,D,P") [ InitialExpression = "P" ];
Property methods: RuntimeModeDisplayToLogical(), RuntimeModeGet(), RuntimeModeIsValid(), RuntimeModeLogicalToDisplay(), RuntimeModeLogicalToOdbc(), RuntimeModeNormalize(), RuntimeModeSet()
property Stylesheet as Ens.DataType.Filename;
Property methods: StylesheetDisplayToLogical(), StylesheetGet(), StylesheetIsValid(), StylesheetLogicalToDisplay(), StylesheetLogicalToOdbc(), StylesheetNormalize(), StylesheetSet()
property StylesheetDir as Ens.DataType.Directory;
Property methods: StylesheetDirDisplayToLogical(), StylesheetDirGet(), StylesheetDirIsValid(), StylesheetDirLogicalToDisplay(), StylesheetDirLogicalToOdbc(), StylesheetDirNormalize(), StylesheetDirSet()
property StylesheetDirFileSpec as %String (MAXLEN = 512) [ InitialExpression = "*.xsl*" ];
Property methods: StylesheetDirFileSpecDisplayToLogical(), StylesheetDirFileSpecGet(), StylesheetDirFileSpecIsValid(), StylesheetDirFileSpecLogicalToDisplay(), StylesheetDirFileSpecLogicalToOdbc(), StylesheetDirFileSpecNormalize(), StylesheetDirFileSpecSet()

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

Inherited Members

Inherited Methods

Subclasses

FeedbackOpens in a new tab