public final class FormDefinitionJsonPostProcessor extends Object
Constructor and Description |
---|
FormDefinitionJsonPostProcessor(org.codehaus.jackson.map.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
process(String formDefinitionJson,
String languageCode)
Processes the given Json string by translating each attribute value for which there is an i18n value available.
|
public FormDefinitionJsonPostProcessor(org.codehaus.jackson.map.ObjectMapper objectMapper)
public Map<String,Object> process(String formDefinitionJson, String languageCode)
formDefinitionJson
- the form definition in Json formatlanguageCode
- the language to apply in the form definitionCopyright © 2010 - 2017 edorasware ag. All Rights Reserved.