public class VelocityEvaluator extends java.lang.Object implements TemplateEvaluatable
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected Translator |
trans |
| コンストラクタと説明 |
|---|
VelocityEvaluator() |
VelocityEvaluator(Translator trans)
コンストラクタ。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
java.lang.String |
evaluate(java.lang.String template,
java.util.Map source)
テンプレートの評価を行う
|
java.lang.String |
evaluate(java.lang.String template,
Observable source)
テンプレートに基づきsourceの変換を行う(Optional operation).
|
java.lang.String |
evaluate(java.lang.String template,
org.apache.velocity.VelocityContext context) |
java.lang.String |
getEvaluateSymbol() |
protected org.apache.velocity.app.event.EventCartridge |
getEventCartridge() |
protected org.apache.velocity.app.event.EventHandler |
getEventHandler() |
protected java.util.Properties |
getInitProperties() |
TemplateFactory |
getTemplateFactory(java.lang.String propertyKey)
Evaluatable用のTemplateFactoryを取得する。
|
protected void |
initVelocity() |
protected Translator trans
public VelocityEvaluator(Translator trans)
public VelocityEvaluator()
public java.lang.String evaluate(java.lang.String template, java.util.Map source)
evaluate インタフェース内 TemplateEvaluatablepublic java.lang.String evaluate(java.lang.String template, Observable source)
TemplateEvaluatableevaluate インタフェース内 TemplateEvaluatablepublic java.lang.String evaluate(java.lang.String template, org.apache.velocity.VelocityContext context)
public TemplateFactory getTemplateFactory(java.lang.String propertyKey)
TemplateEvaluatablegetTemplateFactory インタフェース内 TemplateEvaluatableprotected org.apache.velocity.app.event.EventCartridge getEventCartridge()
protected org.apache.velocity.app.event.EventHandler getEventHandler()
protected void initVelocity()
protected java.util.Properties getInitProperties()
public java.lang.String getEvaluateSymbol()
getEvaluateSymbol インタフェース内 TemplateEvaluatable