Package | Description |
---|---|
org.rythmengine | |
org.rythmengine.conf | |
org.rythmengine.extension | |
org.rythmengine.internal | |
org.rythmengine.resource | |
org.rythmengine.template |
Modifier and Type | Method and Description |
---|---|
ICodeType |
RythmEngine.RenderSettings.codeType()
Return thread local code type
|
static ICodeType |
Rythm.RenderTime.getCodeType() |
Modifier and Type | Method and Description |
---|---|
RythmEngine.RenderSettings |
RythmEngine.RenderSettings.init(ICodeType codeType)
Init the render time by setting
code type . |
RythmEngine |
RythmEngine.prepare(ICodeType codeType)
Prepare the render operation environment settings
|
RythmEngine |
Rythm.prepare(ICodeType codeType)
Prepare the render operation environment settings
|
RythmEngine |
RythmEngine.prepare(ICodeType codeType,
Locale locale,
Map<String,Object> usrCtx)
Prepare the render operation environment settings
|
RythmEngine |
Rythm.prepare(ICodeType codeType,
Locale locale,
Map<String,Object> usrCtx)
Prepare the render operation environment settings
|
static void |
Rythm.RenderTime.setCodeType(ICodeType type) |
String |
RythmEngine.testTemplate(String name,
org.rythmengine.internal.compiler.TemplateClass callerClass,
ICodeType codeType)
Check if a template exists and return it's name
|
Modifier and Type | Method and Description |
---|---|
ICodeType |
RythmConfiguration.defaultCodeType()
Return
RythmConfigurationKey.DEFAULT_CODE_TYPE_IMPL without lookup |
Modifier and Type | Class and Description |
---|---|
static class |
ICodeType.DefImpl |
Modifier and Type | Method and Description |
---|---|
ICodeType |
ICodeType.getParent()
Return parent type or null if there is no parent
set on it
|
ICodeType |
ICodeType.DefImpl.getParent() |
Modifier and Type | Method and Description |
---|---|
Set<ICodeType> |
ICodeType.allowedExternalTypes()
Return a set of other types that could embed this
type impl.
|
Set<ICodeType> |
ICodeType.DefImpl.allowedExternalTypes() |
Modifier and Type | Method and Description |
---|---|
void |
ICodeType.setParent(ICodeType parent)
Set the parent type to the embedded type
|
void |
ICodeType.DefImpl.setParent(ICodeType parent) |
org.rythmengine.internal.compiler.TemplateClass |
ITemplateResourceLoader.tryLoadTemplate(String tmplName,
RythmEngine engine,
org.rythmengine.internal.compiler.TemplateClass callerClass,
ICodeType codeType)
Try to load a template tag with tag name.
|
Modifier and Type | Field and Description |
---|---|
ICodeType |
CodeBuilder.templateDefLang |
Modifier and Type | Method and Description |
---|---|
ICodeType |
TemplateParser.peekCodeType() |
ICodeType |
IContext.peekCodeType() |
ICodeType |
TemplateParser.popCodeType() |
ICodeType |
IContext.popCodeType() |
Modifier and Type | Method and Description |
---|---|
Iterable<ICodeType> |
CodeTypeManager.codeTypes() |
Iterable<ICodeType> |
ExtensionManager.templateLangs() |
Modifier and Type | Method and Description |
---|---|
String |
CodeBuilder.addInclude(String include,
int lineNo,
ICodeType codeType) |
String |
CodeBuilder.addIncludes(String includes,
int lineNo,
ICodeType codeType) |
void |
TemplateParser.pushCodeType(ICodeType type) |
void |
IContext.pushCodeType(ICodeType type) |
ExtensionManager |
ExtensionManager.registerCodeType(ICodeType type) |
CodeTypeManager |
CodeTypeManager.registerCodeType(ICodeType type) |
Modifier and Type | Method and Description |
---|---|
ICodeType |
TemplateResourceBase.codeType(RythmEngine engine) |
ICodeType |
ITemplateResource.codeType(RythmEngine engine)
Return code type suggested by this resource, e.g.
|
static ICodeType |
TemplateResourceBase.getTypeOfPath(RythmEngine engine,
String s) |
Modifier and Type | Method and Description |
---|---|
org.rythmengine.internal.compiler.TemplateClass |
ResourceLoaderBase.tryLoadTemplate(String tmplName,
RythmEngine engine,
org.rythmengine.internal.compiler.TemplateClass callerClass,
ICodeType codeType) |
org.rythmengine.internal.compiler.TemplateClass |
TemplateResourceManager.tryLoadTemplate(String tmplName,
org.rythmengine.internal.compiler.TemplateClass callerClass,
ICodeType codeType) |
Modifier and Type | Method and Description |
---|---|
ICodeType |
TemplateBase.__curCodeType() |
ICodeType |
ITemplate.__curCodeType()
(not API)
Return current code type.
|
ICodeType |
ITemplate.__Context.currentCodeType() |
ICodeType |
ITemplate.__Context.popCodeType() |
Modifier and Type | Method and Description |
---|---|
void |
TemplateBase.__prepareRender(ICodeType type,
Locale locale,
RythmEngine engine) |
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
|
void |
ITemplate.__Context.pushCodeType(ICodeType type) |
Copyright © 2015. All Rights Reserved.