public class PropositionNaturalLanguageTemplater extends Object implements NaturalLanguageTemplaterContract
Modifier and Type | Field and Description |
---|---|
static String |
CONSTANT_VALUE_TOKEN
An integer value token.
|
static String |
OPERATOR_TOKEN
Relational operator token.
|
Constructor and Description |
---|
PropositionNaturalLanguageTemplater()
Constructs a new proposition natural language templater.
|
Modifier and Type | Method and Description |
---|---|
void |
setKrmsTypeRepositoryService(KrmsTypeRepositoryService krmsTypeRepositoryService) |
void |
setTranslationContextRegistry(TranslationContextRegistry<TranslationContext> translationContextRegistry)
Sets the template context registry.
|
String |
translate(NaturalLanguageTemplate naturalLanguageTemplate,
Map<String,Object> parametersMap) |
public static final String OPERATOR_TOKEN
public static final String CONSTANT_VALUE_TOKEN
public PropositionNaturalLanguageTemplater()
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)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.