|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rythmengine.RythmEngine.RenderSettings
public class RythmEngine.RenderSettings
Define the render time settings, which is intialized each time a renderXX method get called
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public final RythmEngine.RenderSettings init(ICodeType codeType)
code type
.
This method should called before calling render methods to setup the context of this render
codeType
-
public final RythmEngine.RenderSettings init(Locale locale)
locale
.
This method should called before calling render methods to setup the context of this render
locale
-
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |