@Service
@Properties(value={@Property(name="service.vendor",value="The Apache Software Foundation"),@Property(name="service.description",value="resource bundle message resolver for Sling Scripting Thymeleaf")})
public class ResourceBundleMessageResolver
extends Object
implements org.thymeleaf.messageresolver.IMessageResolver
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_ORDER |
static Object[] |
EMPTY_MESSAGE_PARAMETERS |
static String |
ORDER_PARAMETER |
| Constructor and Description |
|---|
ResourceBundleMessageResolver() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
Integer |
getOrder() |
void |
initialize() |
org.thymeleaf.messageresolver.MessageResolution |
resolveMessage(org.thymeleaf.Arguments arguments,
String key,
Object[] messageParameters) |
public static final int DEFAULT_ORDER
@Property(intValue=0) public static final String ORDER_PARAMETER
public static final Object[] EMPTY_MESSAGE_PARAMETERS
public String getName()
getName in interface org.thymeleaf.messageresolver.IMessageResolverpublic Integer getOrder()
getOrder in interface org.thymeleaf.messageresolver.IMessageResolverpublic org.thymeleaf.messageresolver.MessageResolution resolveMessage(org.thymeleaf.Arguments arguments,
String key,
Object[] messageParameters)
resolveMessage in interface org.thymeleaf.messageresolver.IMessageResolverpublic void initialize()
initialize in interface org.thymeleaf.messageresolver.IMessageResolverCopyright © 2007–2014 The Apache Software Foundation. All rights reserved.