|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krms.impl.repository.language.PropositionNaturalLanguageTemplater
public class PropositionNaturalLanguageTemplater
This class translates requirement components into a specific natural language. This class is not thread safe.
Field Summary | |
---|---|
static String |
CONSTANT_VALUE_TOKEN
An integer value token. |
static String |
OPERATOR_TOKEN
Relational operator token. |
Constructor Summary | |
---|---|
PropositionNaturalLanguageTemplater()
Constructs a new proposition natural language templater. |
Method Summary | |
---|---|
void |
setKrmsTypeRepositoryService(KrmsTypeRepositoryService krmsTypeRepositoryService)
|
void |
setTranslationContextRegistry(TranslationContextRegistry<TranslationContext> translationContextRegistry)
Sets the template context registry. |
String |
translate(NaturalLanguageTemplate naturalLanguageTemplate,
Map<String,Object> parametersMap)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String OPERATOR_TOKEN
public static final String CONSTANT_VALUE_TOKEN
Constructor Detail |
---|
public PropositionNaturalLanguageTemplater()
Method Detail |
---|
public void setTranslationContextRegistry(TranslationContextRegistry<TranslationContext> translationContextRegistry)
translationContextRegistry
- Template context registrypublic String translate(NaturalLanguageTemplate naturalLanguageTemplate, Map<String,Object> parametersMap)
translate
in interface NaturalLanguageTemplaterContract
public void setKrmsTypeRepositoryService(KrmsTypeRepositoryService krmsTypeRepositoryService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |