Package | Description |
---|---|
org.rythmengine.extension | |
org.rythmengine.internal | |
org.rythmengine.template |
Modifier and Type | Method and Description |
---|---|
void |
IRythmListener.enterInvokeTemplate(TemplateBase caller) |
void |
IRythmListener.ListenerAdaptor.enterInvokeTemplate(TemplateBase caller) |
void |
IRythmListener.exitInvokeTemplate(TemplateBase caller) |
void |
IRythmListener.ListenerAdaptor.exitInvokeTemplate(TemplateBase caller) |
boolean |
IRenderExceptionHandler.handleTemplateExecutionException(Exception e,
TemplateBase template)
Handle exception and return true if the exception is handled,
false otherwise
|
Modifier and Type | Class and Description |
---|---|
class |
ToStringTemplateBase
The template base used in ToString mode or AutoToString mode
|
Modifier and Type | Field and Description |
---|---|
static IEvent<Void,TemplateBase> |
RythmEvents.ENTER_INVOKE_TEMPLATE
Triggered immediately when RythmEngine.invokeTemplate() method get called
|
static IEvent<Void,TemplateBase> |
RythmEvents.EXIT_INVOKE_TEMPLATE
Triggered after RythmEngine.invokeTemplate() method get called
|
static IEvent<Boolean,F.T2<TemplateBase,Exception>> |
RythmEvents.ON_RENDER_EXCEPTION
Render execution exception captured
|
static IEvent<Void,F.T2<TemplateBase,ITemplate>> |
RythmEvents.ON_TAG_INVOCATION
Before tag invocation
|
static IEvent<Void,F.T2<TemplateBase,ITemplate>> |
RythmEvents.TAG_INVOKED
Before tag invocation
|
Modifier and Type | Method and Description |
---|---|
void |
CodeBuilder.setExtended(Class<? extends TemplateBase> c) |
Modifier and Type | Class and Description |
---|---|
class |
EmptyTemplate
Created by luog on 21/08/2014.
|
class |
JavaTagBase
classes extends JavaTagBase are not template based, it's kind of like FastTag in Play
|
class |
TagBase
Define a tag
|
Modifier and Type | Field and Description |
---|---|
protected TemplateBase |
ITag.__Body.__context
The context template
|
protected TemplateBase |
TemplateBase.__parent
The parent template (layout template)
|
Modifier and Type | Method and Description |
---|---|
protected TemplateBase |
TemplateBase.__caller()
Return caller of the template when this template is
invoked as a
tag |
protected TemplateBase |
TemplateBase.__internalClone()
Not to be used in user application or template
|
protected TemplateBase |
TemplateBase.__set(String name,
Object arg)
alias of
__setRenderArg(String, Object) |
protected TemplateBase |
TemplateBase.__setRenderArgs0(ITag.__ParameterList params)
Set render arg from
tag params
Not to be used in user application or template |
TemplateBase |
JavaTagBase.__setRenderArgs0(ITag.__ParameterList params) |
protected TemplateBase |
EmptyTemplate.__setRenderArgs0(ITag.__ParameterList params) |
TemplateBase |
TemplateBase.pe(Object o) |
TemplateBase |
TemplateBase.pe(Object o,
Escape escape) |
Modifier and Type | Method and Description |
---|---|
void |
ITemplate.__Context.init(TemplateBase templateBase,
ICodeType type,
Locale locale,
org.rythmengine.internal.compiler.TemplateClass tc,
RythmEngine engine)
init the context with template and base code type
|
Constructor and Description |
---|
ITag.__Body(TemplateBase context)
Construct a body with context template instance
|
Copyright © 2015. All Rights Reserved.