Interface TokenResolverOutput
public interface TokenResolverOutput
Collects resolved values for tokens specified in
TokenResolverInput
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
setTokenValues
(String language, Map<String, String> tokenValues) Sets the resolved token values for a particular language.
-
Method Details
-
setTokenValues
Sets the resolved token values for a particular language. Call this method once per language to set the resolved values for each language specified inTokenResolverInput#getLanguages
. Throws an exception if the languages do not match those specified inTokenResolverInput#getLanguages
. Ignores the resolved values for tokens that do not match those inTokenResolverInput#getTokens
.- Parameters:
language
- the language to use to resolve token valuestokenValues
- resolved values
-