Home > Class Reference > ENSLIB namespace > EnsLib.XSLT.Common

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: CallbackHandlerClassDisplayToLogical(), CallbackHandlerClassGet(), CallbackHandlerClassIsValid(), CallbackHandlerClassLogicalToDisplay(), CallbackHandlerClassLogicalToOdbc(), CallbackHandlerClassNormalize(), CallbackHandlerClassSet(), 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(), CompiledStyleSheetsInfoBuildValueArray(), CompiledStyleSheetsInfoCollectionToDisplay(), CompiledStyleSheetsInfoCollectionToOdbc(), CompiledStyleSheetsInfoDisplayToCollection(), CompiledStyleSheetsInfoGet(), CompiledStyleSheetsInfoGetObject(), CompiledStyleSheetsInfoGetObjectId(), CompiledStyleSheetsInfoGetSwizzled(), CompiledStyleSheetsInfoIsValid(), CompiledStyleSheetsInfoLogicalToOdbc(), CompiledStyleSheetsInfoOdbcToCollection(), CompiledStyleSheetsInfoOdbcToLogical(), CompiledStyleSheetsInfoSet(), CompiledStyleSheetsInfoSetObject(), CompiledStyleSheetsInfoSetObjectId(), 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: StylesheetDirDisplayToLogical(), StylesheetDirFileSpecDisplayToLogical(), StylesheetDirFileSpecGet(), StylesheetDirFileSpecIsValid(), StylesheetDirFileSpecLogicalToDisplay(), StylesheetDirFileSpecLogicalToOdbc(), StylesheetDirFileSpecNormalize(), StylesheetDirFileSpecSet(), StylesheetDirGet(), StylesheetDirIsValid(), StylesheetDirLogicalToDisplay(), StylesheetDirLogicalToOdbc(), StylesheetDirNormalize(), StylesheetDirSet(), StylesheetDisplayToLogical(), StylesheetGet(), StylesheetIsValid(), StylesheetLogicalToDisplay(), StylesheetLogicalToOdbc(), StylesheetNormalize(), StylesheetSet()
property StylesheetDir as Ens.DataType.Directory;
Property methods: StylesheetDirDisplayToLogical(), StylesheetDirFileSpecDisplayToLogical(), StylesheetDirFileSpecGet(), StylesheetDirFileSpecIsValid(), StylesheetDirFileSpecLogicalToDisplay(), StylesheetDirFileSpecLogicalToOdbc(), StylesheetDirFileSpecNormalize(), StylesheetDirFileSpecSet(), 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 [ Language = objectscript ]
Override to select stylesheets by key differently
method HasStyleSheetByKey(pKey As %String = ..#DEFAULTSSKEY) as %Boolean [ Language = objectscript ]
method OnInit() as %Status [ Language = objectscript ]
This user callback method is called just after %OnNew()
method OnTearDown() as %Status [ Language = objectscript ]
This user callback method is called just before %OnClose()
method Transform(pInput, pSSKey As %String = ..#DEFAULTSSKEY, ByRef pParameters=$$$NULLOREF, ByRef pOutput) as %Status [ Language = objectscript ]
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 [ Language = objectscript ]
method TransformIntoObject(pInput, pSSKey As %String = ..#DEFAULTSSKEY, pClassname As %String, ByRef pOutput As %XML.Adaptor, ByRef pXMLName As %String, ByRef pParameters=$$$NULLOREF) as %Status [ Language = objectscript ]
classmethod getParameters(pParameters As %Collection.ArrayOfDT, ByRef pParams) as %Status [ Language = objectscript ]
method loadStylesheetFromStream(pStream As %Stream.Object, pName As %String = ..#DEFAULTSSKEY) as %Status [ Language = objectscript ]
Load a stylesheet from a stream
method loadStylesheetFromXData(pClass As %String, pXData As %String, pName As %String = ..#DEFAULTSSKEY) as %Status [ Language = objectscript ]
Load a stylesheet from an XDATA block

Inherited Members

Inherited Methods

Subclasses

FeedbackOpens in a new window