Class AbstractScriptingStyle
- java.lang.Object
-
- lumis.portal.serviceinterface.style.impl.scripting.AbstractScriptingStyle
-
- All Implemented Interfaces:
IStyle
- Direct Known Subclasses:
GenericCompiledScriptStyle
,GenericScriptingStyle
public abstract class AbstractScriptingStyle extends Object implements IStyle
Abstract scripting style.- Since:
- 8.1.0
- Version:
- $Revision: 20543 $ $Date: 2017-09-25 12:43:34 -0300 (Mon, 25 Sep 2017) $
-
-
Constructor Summary
Constructors Constructor Description AbstractScriptingStyle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Bindings
createBindings(String output, IServiceInterfaceRequestSPI request, IServiceInterfaceRenderResponseSPI response, IScriptingStyleTemplate template)
Returns the basic bindings using the given request and response.protected ScriptContext
createContext(String output, IServiceInterfaceRequestSPI request, IServiceInterfaceRenderResponseSPI response, IScriptingStyleTemplate template)
Returns the script context for the given parameters.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface lumis.portal.serviceinterface.style.IStyle
transformOutput, transformOutput
-
-
-
-
Method Detail
-
createBindings
protected Bindings createBindings(String output, IServiceInterfaceRequestSPI request, IServiceInterfaceRenderResponseSPI response, IScriptingStyleTemplate template) throws IOException
Returns the basic bindings using the given request and response.- Parameters:
output
- the current output to be transformed.request
- the request.response
- the response.template
- the scripting style template.- Returns:
- the basic bindings using the given request and response.
- Throws:
IOException
- Since:
- 8.1.0
-
createContext
protected ScriptContext createContext(String output, IServiceInterfaceRequestSPI request, IServiceInterfaceRenderResponseSPI response, IScriptingStyleTemplate template) throws IOException
Returns the script context for the given parameters.- Parameters:
output
- the current output to be transformed.request
- the request.response
- the response.template
- the scripting style template.- Returns:
- the script context for the given parameters.
- Throws:
IOException
- Since:
- 8.1.0
-
-