public class RythmEngine.RenderSettings extends Object
Modifier and Type | Method and Description |
---|---|
RythmEngine |
clear()
Clear the render time after render process done
|
ICodeType |
codeType()
Return thread local code type
|
RythmEngine.RenderSettings |
init(ICodeType codeType)
Init the render time by setting
code type . |
RythmEngine.RenderSettings |
init(Locale locale)
Init the render time by setting
locale . |
RythmEngine.RenderSettings |
init(Map<String,Object> usrCtx)
Init the render time by setting user context
This method should called before calling render methods to setup the context of this render
|
Locale |
locale()
Return ThreadLocal locale.
|
Map<String,Object> |
userContext()
Return thread local user context map
|
public final RythmEngine.RenderSettings init(ICodeType codeType)
code type
.
This method should called before calling render methods to setup the context of this rendercodeType
- public final RythmEngine.RenderSettings init(Locale locale)
locale
.
This method should called before calling render methods to setup the context of this renderlocale
- public final RythmEngine.RenderSettings init(Map<String,Object> usrCtx)
usrCtx
- public final Locale locale()
public final ICodeType codeType()
code type
setting for this render processpublic final Map<String,Object> userContext()
public final RythmEngine clear()
Copyright © 2015. All Rights Reserved.