Class GenericCompiledScriptStyle
- java.lang.Object
-
- lumis.portal.serviceinterface.style.impl.scripting.AbstractScriptingStyle
-
- lumis.portal.serviceinterface.style.impl.scripting.GenericCompiledScriptStyle
-
- All Implemented Interfaces:
IStyle
public class GenericCompiledScriptStyle extends AbstractScriptingStyle
Generic script style that holds a compiled version of the transformation script.- Since:
- 8.1.0
- Version:
- $Revision: 17593 $ $Date: 2015-07-17 11:21:36 -0300 (Fri, 17 Jul 2015) $
-
-
Constructor Summary
Constructors Constructor Description GenericCompiledScriptStyle(CompiledScript compiledScript, IScriptingStyleTemplate template)
Creates a new instance with the given compiled script and style factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
transformOutput(IServiceInterfaceRequestSPI request, IServiceInterfaceRenderResponseSPI response)
Transforms the output of a service interface.void
transformOutput(IServiceInterfaceRequestSPI request, IServiceInterfaceRenderResponseSPI response, String output)
Transforms the output of a service interface using the given XML.-
Methods inherited from class lumis.portal.serviceinterface.style.impl.scripting.AbstractScriptingStyle
createBindings, createContext
-
-
-
-
Constructor Detail
-
GenericCompiledScriptStyle
public GenericCompiledScriptStyle(CompiledScript compiledScript, IScriptingStyleTemplate template)
Creates a new instance with the given compiled script and style factory.- Parameters:
compiledScript
- the compiled script.template
- the template to be used.- Since:
- 8.1.0
-
-
Method Detail
-
transformOutput
public void transformOutput(IServiceInterfaceRequestSPI request, IServiceInterfaceRenderResponseSPI response) throws PortalException
Description copied from interface:IStyle
Transforms the output of a service interface.- Parameters:
request
- the request.response
- the response.- Throws:
PortalException
-
transformOutput
public void transformOutput(IServiceInterfaceRequestSPI request, IServiceInterfaceRenderResponseSPI response, String output) throws PortalException
Description copied from interface:IStyle
Transforms the output of a service interface using the given XML.- Parameters:
request
- the request.response
- the response.output
- the XML string to use.- Throws:
PortalException
-
-