Home > Class Reference > %SYS namespace > %XML.XSLT.CompiledStyleSheet

%XML.XSLT.CompiledStyleSheet

class %XML.XSLT.CompiledStyleSheet extends %Library.RegisteredObject

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

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property ParsedSourceHandle as %Integer;
This property holds a handle to the parsed source
Property methods: ParsedSourceHandleDisplayToLogical(), ParsedSourceHandleGet(), ParsedSourceHandleIsValid(), ParsedSourceHandleLogicalToDisplay(), ParsedSourceHandleNormalize(), ParsedSourceHandleSet()

Methods (Including Private)

private method %OnClose() as %Status
Inherited description: This callback method is invoked by the %Close() method to provide notification that the current object is being closed.

The return value of this method is ignored.

private method %OnNew(initvalue As %CacheString) as %Status
This callback method is invoked by the %New() method to provide notification that a new instance of an object is being created. For this class, client code should NOT call this method directly via %New() but should use the 'CreateFromFile()' or 'CreateFromStream()' factory methods
classmethod CreateFromFile(pSource As %String, Output pCompiledStyleSheet As %XML.XSLT.CompiledStyleSheet, pErrorHandler As %XML.XSLT.ErrorHandler = $$$NULLOREF) as %Status
Use this method a create an instance of an %XML.XSLT.CompiledStyleSheet from a file path name.
classmethod CreateFromStream(pStream As %AbstractStream, Output pCompiledStyleSheet As %XML.XSLT.CompiledStyleSheet, pErrorHandler As %XML.XSLT.ErrorHandler = $$$NULLOREF) as %Status
Use this method to create an instance of an %XML.XSLT.CompiledStyleSheet from a binary stream
method ParsedSourceHandleGet()
This accesses the parsed source handle which xalan uses to identify the previously parsed source document

Inherited Members

Inherited Methods (Including Private)