Plugin.InfoRepo| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ID |
| Constructor and Description |
|---|
RythmView() |
| Modifier and Type | Method and Description |
|---|---|
org.rythmengine.RythmEngine |
getEngine(App app) |
protected Template |
loadTemplate(java.lang.String resourcePath,
ActContext context)
Sub class must implement this method to load the template
|
java.lang.String |
name()
Returns the View solution’s name.
|
void |
registerBuiltInTransformer(App app,
java.lang.Class<?> clazz) |
void |
registerFormatter(App app,
org.rythmengine.extension.IFormatter formatter) |
void |
registerTransformer(App app,
java.lang.Class<?> clazz) |
protected void |
reload(App app) |
appliedTo, applyTo, init, loadContent, templateHome, templateRootDirregisterpublic static final java.lang.String ID
public java.lang.String name()
ViewReturns the View solution’s name. Recommended name should be in lower case characters. E.g. freemarker, velocity, rythm etc
protected Template loadTemplate(java.lang.String resourcePath, ActContext context)
ViewSub class must implement this method to load the template
loadTemplate in class ViewresourcePath - the path to the templatecontext - the view contextnull if template not foundpublic org.rythmengine.RythmEngine getEngine(App app)
public void registerTransformer(App app, java.lang.Class<?> clazz)
public void registerBuiltInTransformer(App app, java.lang.Class<?> clazz)
public void registerFormatter(App app, org.rythmengine.extension.IFormatter formatter)
Copyright © 2014–2017 ActFramework. All rights reserved.