This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions pageOpens in a new window (login required).

Caché & Ensemble 2018.1.5Opens in a new window > Class Reference > %SYS namespace > %Net.Remote.Java.XSLTGateway

%Net.Remote.Java.XSLTGateway

class %Net.Remote.Java.XSLTGateway extends %Net.Remote.Gateway

Method Inventory (Including Private)

Parameters

final parameter ADDTOEVALUATECACHEFILTERLIST = 17;
final parameter CLEAREVALUATECACHE = 15;
final parameter CLEAREVALUATECACHEFILTERLIST = 19;
final parameter COMPILEFILE = 2;
final parameter COMPILESTREAM = 3;
final parameter DONE = 1;
final parameter DUMPEVALUATECACHETOLIST = 21;
final parameter ERROR = 7;
final parameter FATALERROR = 8;
parameter Host = 127.0.0.1;
Default host
final parameter INVOKECALLBACK = 4;
parameter JVMArgs;
Default additional JVM arguments
parameter JavaHome;
Default JavaHome directory
final parameter LOADEVALUATECACHEFROMLIST = 22;
parameter LogFile;
Default log file
parameter Port = $S($ZU(172,0)<60635:$ZU(172,0)+5000,1:61972);
Default port is Superserver port + 5000 if it does not exceed 65535, otherwise 61972
final parameter RELEASECOMPILEDXSLT = 14;
final parameter REMOVEFROMEVALUATECACHEFILTERLIST = 18;
final parameter RESOLVEENTITY = 5;
final parameter SETCACHEEVERYTHINGBOOLEAN = 20;
final parameter SETEVALUATECACHESIZE = 16;
final parameter TRANSFORMFILECOMPILEDFILE = 10;
final parameter TRANSFORMFILEFILEFILE = 9;
final parameter TRANSFORMSTREAMCOMPILEDSTREAM = 12;
final parameter TRANSFORMSTREAMSTREAMSTREAM = 11;
final parameter TRANSFORMSTRINGCOMPILEDSTRING = 13;
parameter UsePassphrase = 0;
Default UsePassphrase
final parameter WARNING = 6;
final parameter XSLTREQUEST = YX;

Methods (Including Private)

classmethod %SetStatus(exception As %Exception.StatusException) as %Status
classmethod AddToEvaluateCacheFilterList(filterListEntry As %String, errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = $$$NULLOREF) as %Status
final classmethod CallXSLTProcessor(gateway As %Net.Remote.Gateway, errorHandler As %ObjectHandle = $$$NULLOREF, ByRef outputStream As %XML.XSLT.StreamAdapter = $$$NULLOREF) as %Status
This method is no longer used internally by this class.
classmethod ClearEvaluateCache(errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = $$$NULLOREF) as %Status
classmethod ClearEvaluateCacheFilterList(errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = $$$NULLOREF) as %Status
final classmethod CompileXSLFile(xslt As %String, compiledStyleSheet As %XML.XSLT2.CompiledStyleSheet, errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = $$$NULLOREF) as %Status
final classmethod CompileXSLStream(xslt As %XML.SAX.StreamAdapter, compiledStyleSheet As %XML.XSLT2.CompiledStyleSheet, errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = $$$NULLOREF) as %Status
classmethod DumpEvaluateCacheToList(Output evaluateCache As %List, errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = $$$NULLOREF) as %Status
classmethod GetObjectGateway(Output status As %Status, port As %String, host As %String, jdk As %String, javahome As %String, logfile As %String, jvmargs As %String, usepassphrase As %Boolean) as %Net.Remote.ObjectGateway
Instantiate a temporary in-memory Object Gateway for Java to be used by XSLT 2.0. A missing parameter assume the corresponding configured value or in the absence of it, the default value for the parameter.
classmethod LoadEvaluateCacheFromList(evaluateCache As %List, errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = $$$NULLOREF) as %Status
classmethod ProcessCallback(gateway As %Net.Remote.Gateway)
classmethod ProcessError(gateway As %Net.Remote.Gateway, type As %Integer)
final classmethod ReleaseCompiledXSLT(compiledStyleSheet As %XML.XSLT2.CompiledStyleSheet, errorHandler As %ObjectHandle = $$$NULLOREF, gateway As %Net.Remote.Gateway = $$$NULLOREF) as %Status
classmethod RemoveFromEvaluateCacheFilterList(filterListEntry As %String, errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = $$$NULLOREF) as %Status
final classmethod SendRequestToGateway(requestObj As %Net.Remote.Java.XSLTGatewayRequest, gateway As %Net.Remote.Gateway = $$$NULLOREF, Output targetStream As %XML.SAX.StreamAdapter, Output targetString As %String, Output evaluateCache As %List) as %Status
classmethod SetCacheEverythingBoolean(cacheEverything As %Boolean, errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = $$$NULLOREF) as %Status
classmethod SetEvaluateCacheSize(size As %Integer, errorHandler As %ObjectHandle, gateway As %Net.Remote.Gateway = $$$NULLOREF) as %Status
classmethod ShutdownGateway(port As %String, host As %String) as %Status
Shutdown the gateway
classmethod StartGateway(Output status As %Status, port As %String, host As %String, jdk As %String, javahome As %String, logfile As %String, jvmargs As %String, usepassphrase As %String) as %Net.Remote.Gateway
Start a Gateway for XSLT 2.0 if not already started, and return a gateway connection
classmethod StopGateway(gateway As %Net.Remote.Gateway) as %Status
Disconnect
final classmethod Transform(gateway As %Net.Remote.Gateway, errorHandler As %ObjectHandle, callbackHandler As %ObjectHandle, parameters As %ObjectHandle, entityResolver As %ObjectHandle, ByRef outputStream As %XML.XSLT.StreamAdapter = $$$NULLOREF) as %Status
This method is no longer used internally by this class.
final 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 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 classmethod TransformStream(source As %XML.SAX.StreamAdapter, xslt As %ObjectHandle, target As %XML.SAX.StreamAdapter, errorHandler As %ObjectHandle, callbackHandler As %ObjectHandle, parameters As %ObjectHandle, entityResolver As %ObjectHandle, gateway As %Net.Remote.Gateway = $$$NULLOREF) as %Status
final 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
private final classmethod WaitForResponse(gateway As %Net.Remote.Gateway, ByRef outputStream As %XML.XSLT.StreamAdapter = $$$NULLOREF, ByRef outputString As %String = "", ByRef evaluateCache As %List = $$$NULLOREF) as %Status

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

FeedbackOpens in a new window