public class GenericScriptingStyle extends AbstractScriptingStyle
Constructor and Description |
---|
GenericScriptingStyle(String script,
ScriptEngine engine,
IScriptingStyleTemplate template)
Creates a new instance using the given script text, style factory and script engine.
|
Modifier and Type | Method and 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.
|
createBindings, createContext
public GenericScriptingStyle(String script, ScriptEngine engine, IScriptingStyleTemplate template)
script
- the script text.engine
- the script engine.template
- the template to be used.public void transformOutput(IServiceInterfaceRequestSPI request, IServiceInterfaceRenderResponseSPI response) throws PortalException
IStyle
request
- the request.response
- the response.PortalException
public void transformOutput(IServiceInterfaceRequestSPI request, IServiceInterfaceRenderResponseSPI response, String output) throws PortalException
IStyle
request
- the request.response
- the response.output
- the XML string to use.PortalException
LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.