|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.acsinet_solutions.cetia4.service.impl.TemplateTextFactory
public class TemplateTextFactory
Implementation of a text factory that uses a velocity template for it's internal generation.
Derechos Reservados
| Constructor Summary | |
|---|---|
TemplateTextFactory()
|
|
| Method Summary | |
|---|---|
TransferableText |
getText(java.lang.String key,
java.util.Map<java.lang.String,java.lang.Object> params)
Get a text instance customized upon the given param values |
void |
setTemplates(java.util.Map map)
Set the velocity templates for the text factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TemplateTextFactory()
| Method Detail |
|---|
public final void setTemplates(java.util.Map map)
public TransferableText getText(java.lang.String key,
java.util.Map<java.lang.String,java.lang.Object> params)
throws EvaluationException
TextFactory
getText in interface TextFactorykey - The not-null key valueparams - A not-null Map instance
EvaluationExceptionTextFactory.getText(String, Map)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||