%Net.Remote.Java.XSLTGateway
Class %Net.Remote.Java.XSLTGateway Extends %Net.Remote.Gateway [ StorageStrategy = "" ]
Parameters
XSLTREQUEST
Parameter XSLTREQUEST [ Final ] = "YX";
DONE
Parameter DONE [ Final ] = 1;
COMPILEFILE
Parameter COMPILEFILE [ Final ] = 2;
COMPILESTREAM
Parameter COMPILESTREAM [ Final ] = 3;
INVOKECALLBACK
Parameter INVOKECALLBACK [ Final ] = 4;
RESOLVEENTITY
Parameter RESOLVEENTITY [ Final ] = 5;
WARNING
Parameter WARNING [ Final ] = 6;
ERROR
Parameter ERROR [ Final ] = 7;
FATALERROR
Parameter FATALERROR [ Final ] = 8;
TRANSFORMFILEFILEFILE
Parameter TRANSFORMFILEFILEFILE [ Final ] = 9;
TRANSFORMFILECOMPILEDFILE
Parameter TRANSFORMFILECOMPILEDFILE [ Final ] = 10;
TRANSFORMSTREAMSTREAMSTREAM
Parameter TRANSFORMSTREAMSTREAMSTREAM [ Final ] = 11;
TRANSFORMSTREAMCOMPILEDSTREAM
Parameter TRANSFORMSTREAMCOMPILEDSTREAM [ Final ] = 12;
TRANSFORMSTRINGCOMPILEDSTRING
Parameter TRANSFORMSTRINGCOMPILEDSTRING [ Final ] = 13;
RELEASECOMPILEDXSLT
Parameter RELEASECOMPILEDXSLT [ Final ] = 14;
CLEAREVALUATECACHE
Parameter CLEAREVALUATECACHE [ Final ] = 15;
SETEVALUATECACHESIZE
Parameter SETEVALUATECACHESIZE [ Final ] = 16;
ADDTOEVALUATECACHEFILTERLIST
Parameter ADDTOEVALUATECACHEFILTERLIST [ Final ] = 17;
REMOVEFROMEVALUATECACHEFILTERLIST
Parameter REMOVEFROMEVALUATECACHEFILTERLIST [ Final ] = 18;
CLEAREVALUATECACHEFILTERLIST
Parameter CLEAREVALUATECACHEFILTERLIST [ Final ] = 19;
SETCACHEEVERYTHINGBOOLEAN
Parameter SETCACHEEVERYTHINGBOOLEAN [ Final ] = 20;
DUMPEVALUATECACHETOLIST
Parameter DUMPEVALUATECACHETOLIST [ Final ] = 21;
LOADEVALUATECACHEFROMLIST
Parameter LOADEVALUATECACHEFROMLIST [ Final ] = 22;
XSLT3REQUEST
Parameter XSLT3REQUEST [ Final ] = "YO";
COMPILEPACKAGEFILE
Parameter COMPILEPACKAGEFILE = 23;
COMPILEPACKAGESTREAM
Parameter COMPILEPACKAGESTREAM = 24;
RELEASECOMPILEDXSLTPACKAGE
Parameter RELEASECOMPILEDXSLTPACKAGE = 25;
MESSAGE
Parameter MESSAGE [ Final ] = 26;
Host
Parameter Host = "127.0.0.1";
Default host
Port
Parameter Port As COSEXPRESSION = "$S($ZU(172,0)<=62535:$ZU(172,0)+3000,1:54773)";
Default port is Superserver port + 3000 if it does not exceed 65535, otherwise 54773
LogFile;
Parameter LogFile;
Default log file
JavaHome;
Parameter JavaHome;
Default JavaHome directory
JVMArgs;
Parameter JVMArgs;
Default additional JVM arguments
Methods
TransformStream
ClassMethod TransformStream(source As %Stream.Object, xslt As %ObjectHandle, target As %Stream.Object, errorHandler As %ObjectHandle, callbackHandler As %ObjectHandle, parameters As %ObjectHandle, entityResolver As %ObjectHandle, gateway As %Net.Remote.Gateway = {$$$NULLOREF}) As %Status [ Final ]
TransformFileFile
ClassMethod TransformFileFile(source As %String, xslt As %String, target As %String, errorHandler As %ObjectHandle, callbackHandler As %ObjectHandle, parameters As %ObjectHandle, entityResolver As %ObjectHandle, gateway As %Net.Remote.Gateway = {$$$NULLOREF}) As %Status [ Final ]
TransformFileCompiled
ClassMethod TransformFileCompiled(source As %String, xslt As %XML.XSLT2.CompiledStyleSheet, target As %String, errorHandler As %ObjectHandle, callbackHandler As %ObjectHandle, parameters As %ObjectHandle, entityResolver As %ObjectHandle, gateway As %Net.Remote.Gateway = {$$$NULLOREF}) As %Status [ Final ]
TransformStringCompiled
ClassMethod TransformStringCompiled(source As %String, xslt As %XML.XSLT2.CompiledStyleSheet, ByRef target As %String, errorHandler As %ObjectHandle, callbackHandler As %ObjectHandle, parameters As %ObjectHandle, entityResolver As %ObjectHandle, gateway As %Net.Remote.Gateway = {$$$NULLOREF}) As %Status [ Final ]
CompileXSLFile
ClassMethod CompileXSLFile(xslt As %String, compiledStyleSheet As %XML.XSLT2.CompiledStyleSheet, errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = {$$$NULLOREF}) As %Status [ Final ]
ReleaseCompiledXSLT
ClassMethod ReleaseCompiledXSLT(compiledStyleSheet As %XML.XSLT2.CompiledStyleSheet, errorHandler As %ObjectHandle = {$$$NULLOREF}, gateway As %Net.Remote.Gateway = {$$$NULLOREF}, requestObj As %Net.Remote.Java.XSLTGatewayRequest = {$$$NULLOREF}) As %Status [ Final ]
CompileXSLStream
ClassMethod CompileXSLStream(xslt As %Stream.Object, compiledStyleSheet As %XML.XSLT2.CompiledStyleSheet, errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = {$$$NULLOREF}) As %Status [ Final ]
ClearEvaluateCache
ClassMethod ClearEvaluateCache(errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = {$$$NULLOREF}, requestObj As %Net.Remote.Java.XSLTGatewayRequest = {$$$NULLOREF}) As %Status
SetEvaluateCacheSize
ClassMethod SetEvaluateCacheSize(size As %Integer, errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = {$$$NULLOREF}, requestObj As %Net.Remote.Java.XSLTGatewayRequest = {$$$NULLOREF}) As %Status
AddToEvaluateCacheFilterList
ClassMethod AddToEvaluateCacheFilterList(filterListEntry As %String, errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = {$$$NULLOREF}, requestObj As %Net.Remote.Java.XSLTGatewayRequest = {$$$NULLOREF}) As %Status
RemoveFromEvaluateCacheFilterList
ClassMethod RemoveFromEvaluateCacheFilterList(filterListEntry As %String, errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = {$$$NULLOREF}, requestObj As %Net.Remote.Java.XSLTGatewayRequest = {$$$NULLOREF}) As %Status
ClearEvaluateCacheFilterList
ClassMethod ClearEvaluateCacheFilterList(errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = {$$$NULLOREF}, requestObj As %Net.Remote.Java.XSLTGatewayRequest = {$$$NULLOREF}) As %Status
SetCacheEverythingBoolean
ClassMethod SetCacheEverythingBoolean(cacheEverything As %Boolean, errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = {$$$NULLOREF}, requestObj As %Net.Remote.Java.XSLTGatewayRequest = {$$$NULLOREF}) As %Status
DumpEvaluateCacheToList
ClassMethod DumpEvaluateCacheToList(Output evaluateCache As %List, errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = {$$$NULLOREF}, requestObj As %Net.Remote.Java.XSLTGatewayRequest = {$$$NULLOREF}) As %Status
LoadEvaluateCacheFromList
ClassMethod LoadEvaluateCacheFromList(evaluateCache As %List, errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = {$$$NULLOREF}, requestObj As %Net.Remote.Java.XSLTGatewayRequest = {$$$NULLOREF}) As %Status
ProcessCallback
ClassMethod ProcessCallback(gateway As %Net.Remote.Gateway, msgid As %Integer, fun As %String)
SendRequestToGateway
ClassMethod SendRequestToGateway(requestObj As %Net.Remote.Java.XSLTGatewayRequest, gateway As %Net.Remote.Gateway = {$$$NULLOREF}, Output targetStream As %Stream.Object, Output targetString As %String, Output evaluateCache As %List) As %Status [ Final ]
WaitForResponse
ClassMethod WaitForResponse(gateway As %Net.Remote.Gateway, ByRef outputStream As %Stream.Object = {$$$NULLOREF}, ByRef outputString As %String = "", ByRef evaluateCache As %List = {$$$NULLOREF}, requestObj As %Net.Remote.Java.XSLTGatewayRequest) As %Status [ Final, Private ]
ProcessError
ClassMethod ProcessError(gateway As %Net.Remote.Gateway, type As %Integer)
StartGateway
ClassMethod StartGateway(Output status As %Status, port As %String, host As %String, jdk As %String, javahome As %String, logfile As %String, jvmargs As %String, resource As %String, useSharedMemoryIfPossible As %Boolean = 0) As %Net.Remote.Gateway
Start a Gateway for XSLT 2.0 if not already started, and return a gateway connection This method is deprecated, please call $system.external.getXSLTGateway() instead. All the arguments to override Gateway definition will be ignored. This method will only start Gateway Server "%XSLT Server"
StopGateway
ClassMethod StopGateway(gateway As %Net.Remote.Gateway) As %Status
Disconnect
ShutdownGateway
ClassMethod ShutdownGateway(port As %String, host As %String) As %Status
Shutdown the gateway All arguments will be ignored. This method will only shutdown Gateway Server "%XSLT Server"
CompileXSLT3File
ClassMethod CompileXSLT3File(xslt As %String, compiledStyleSheet As %XML.XSLT3.CompiledStyleSheet, errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = {$$$NULLOREF}) As %Status [ Final ]
CompileXSLT3XSLStream
ClassMethod CompileXSLT3XSLStream(xslt As %Stream.Object, compiledStyleSheet As %XML.XSLT3.CompiledStyleSheet, errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = {$$$NULLOREF}, XSLBaseDir As %String) As %Status [ Final ]
ReleaseCompiledXSLT3
ClassMethod ReleaseCompiledXSLT3(compiledStyleSheet As %XML.XSLT3.CompiledStyleSheet, errorHandler As %ObjectHandle = {$$$NULLOREF}, gateway As %Net.Remote.Gateway = {$$$NULLOREF}, requestObj As %Net.Remote.Java.XSLTGatewayRequest = {$$$NULLOREF}) As %Status [ Final ]
CompileXSLPackageFile
ClassMethod CompileXSLPackageFile(xslt As %String, compiledPackage As %XML.XSLT3.CompiledPackage, errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = {$$$NULLOREF}) As %Status [ Final ]
CompileXSLPackageStream
ClassMethod CompileXSLPackageStream(xslt As %Stream.Object, compiledPackage As %XML.XSLT3.CompiledPackage, errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = {$$$NULLOREF}, XSLBaseDir As %String) As %Status [ Final ]
ReleaseCompiledXSLT3Package
ClassMethod ReleaseCompiledXSLT3Package(compiledPackage As %XML.XSLT3.CompiledPackage, errorHandler As %ObjectHandle = {$$$NULLOREF}, gateway As %Net.Remote.Gateway = {$$$NULLOREF}, requestObj As %Net.Remote.Java.XSLTGatewayRequest = {$$$NULLOREF}) As %Status [ Final ]
XSLT3TransformFileFile
ClassMethod XSLT3TransformFileFile(source As %String, xslt As %String, target As %String, enableStreaming As %Boolean = 0, compiledPackages As %List = {$$$NULLOREF}, errorHandler As %ObjectHandle, callbackHandler As %ObjectHandle, parameters As %ObjectHandle, gateway As %Net.Remote.Gateway = {$$$NULLOREF}, options As %ObjectHandle) As %Status [ Final ]
XSLT3TransformFileCompiled
ClassMethod XSLT3TransformFileCompiled(source As %String, xslt As %XML.XSLT3.CompiledStyleSheet, target As %String, enableStreaming As %Boolean = 0, errorHandler As %ObjectHandle, callbackHandler As %ObjectHandle, parameters As %ObjectHandle, gateway As %Net.Remote.Gateway = {$$$NULLOREF}, options As %ObjectHandle) As %Status [ Final ]
XSLT3TransformStream
ClassMethod XSLT3TransformStream(source As %Stream.Object, xslt As %ObjectHandle, target As %Stream.Object, compiledPackages As %List, errorHandler As %ObjectHandle, callbackHandler As %ObjectHandle, parameters As %ObjectHandle, gateway As %Net.Remote.Gateway = {$$$NULLOREF}, options As %ObjectHandle, XMLBaseDir As %String, XSLBaseDir As %String) As %Status [ Final ]
XSLT3TransformStringCompiled
ClassMethod XSLT3TransformStringCompiled(source As %String, xslt As %XML.XSLT3.CompiledStyleSheet, ByRef target As %String, errorHandler As %ObjectHandle, callbackHandler As %ObjectHandle, parameters As %ObjectHandle, gateway As %Net.Remote.Gateway = {$$$NULLOREF}, options As %ObjectHandle, XMLBaseDir As %String = "") As %Status [ Final ]
%SetStatus
ClassMethod %SetStatus(exception As %Exception.StatusException) As %Status
Transform
ClassMethod Transform(gateway As %Net.Remote.Gateway, errorHandler As %ObjectHandle, callbackHandler As %ObjectHandle, parameters As %ObjectHandle, entityResolver As %ObjectHandle, ByRef outputStream As %Stream.Object = {$$$NULLOREF}) As %Status [ Deprecated, Final ]
This method is no longer used internally by this class.
CallXSLTProcessor
ClassMethod CallXSLTProcessor(gateway As %Net.Remote.Gateway, errorHandler As %ObjectHandle = {$$$NULLOREF}, ByRef outputStream As %Stream.Object = {$$$NULLOREF}) As %Status [ Deprecated, Final ]
This method is no longer used internally by this class.