%Net.Remote.Java.XSLTGateway
class %Net.Remote.Java.XSLTGateway extends %Net.Remote.Gateway
Method Inventory
- %SetStatus()
- AddToEvaluateCacheFilterList()
- CallXSLTProcessor()
- ClearEvaluateCache()
- ClearEvaluateCacheFilterList()
- CompileXSLFile()
- CompileXSLStream()
- DumpEvaluateCacheToList()
- GetObjectGateway()
- LoadEvaluateCacheFromList()
- ProcessCallback()
- ProcessError()
- ReleaseCompiledXSLT()
- RemoveFromEvaluateCacheFilterList()
- SendRequestToGateway()
- SetCacheEverythingBoolean()
- SetEvaluateCacheSize()
- ShutdownGateway()
- StartGateway()
- StopGateway()
- Transform()
- TransformFileCompiled()
- TransformFileFile()
- TransformStream()
- TransformStringCompiled()
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
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
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
Inherited Members
Inherited Properties
- AttemptReconnect
- Closed
- ClosedProxies
- CurrentDevice
- DBSRVProtocol
- GatewayDevice
- Namespace
- Protocol
- Proxies
- connectClassPaths
- connectParameters
Inherited Methods
- %AddToCurrentClassPath()
- %AddToSaveSet()
- %ClassForName()
- %ClassForNameSynch()
- %ClassIsLatestVersion()
- %ClassName()
- %Connect()
- %ConstructClone()
- %DeregisterSuperServer()
- %Disconnect()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %ExpressImport()
- %Extends()
- %GetAllClasses()
- %GetParameter()
- %GetTimestamp()
- %Import()
- %IsA()
- %IsModified()
- %LoadCOSClass()
- %LostConnectionCleanup()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnNew()
- %OriginalNamespace()
- %PackageName()
- %Ping()
- %Reconnect()
- %RegUpdate()
- %RegisterSuperServer()
- %RemoteService()
- %RemoveFromSaveSet()
- %SerializeObject()
- %ServiceRequest()
- %SetModified()
- %Shutdown()
- %TerminateAllSuperServers()
- %TerminateSuperServer()
- %ValidateObject()