org.thymeleaf.spring3.messageresolver
Class SpringMessageResolver

Object
  extended by org.thymeleaf.messageresolver.AbstractMessageResolver
      extended by org.thymeleaf.spring3.messageresolver.SpringMessageResolver
All Implemented Interfaces:
org.springframework.context.MessageSourceAware, org.thymeleaf.messageresolver.IMessageResolver

public final class SpringMessageResolver
extends org.thymeleaf.messageresolver.AbstractMessageResolver
implements org.springframework.context.MessageSourceAware

Since:
1.0
Author:
Daniel Fernández

Constructor Summary
SpringMessageResolver()
           
 
Method Summary
 org.springframework.context.MessageSource getMessageSource()
           
protected  void initializeSpecific()
           
protected  void initializeSpringSpecific()
           
 org.thymeleaf.messageresolver.MessageResolution resolveMessage(org.thymeleaf.Arguments arguments, org.thymeleaf.templateresolver.TemplateResolution templateResolution, String key, Object[] messageParameters)
           
 void setMessageSource(org.springframework.context.MessageSource messageSource)
           
protected  org.springframework.context.MessageSource unsafeGetMessageSource()
           
 
Methods inherited from class org.thymeleaf.messageresolver.AbstractMessageResolver
checkInitialized, checkNotInitialized, getName, getOrder, initialize, isInitialized, setName, setOrder, unsafeGetName, unsafeGetOrder
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringMessageResolver

public SpringMessageResolver()
Method Detail

initializeSpecific

protected final void initializeSpecific()
Overrides:
initializeSpecific in class org.thymeleaf.messageresolver.AbstractMessageResolver

initializeSpringSpecific

protected void initializeSpringSpecific()

getMessageSource

public final org.springframework.context.MessageSource getMessageSource()

unsafeGetMessageSource

protected final org.springframework.context.MessageSource unsafeGetMessageSource()

setMessageSource

public void setMessageSource(org.springframework.context.MessageSource messageSource)
Specified by:
setMessageSource in interface org.springframework.context.MessageSourceAware

resolveMessage

public org.thymeleaf.messageresolver.MessageResolution resolveMessage(org.thymeleaf.Arguments arguments,
                                                                      org.thymeleaf.templateresolver.TemplateResolution templateResolution,
                                                                      String key,
                                                                      Object[] messageParameters)
Specified by:
resolveMessage in interface org.thymeleaf.messageresolver.IMessageResolver


Copyright © 2011 The THYMELEAF team. All Rights Reserved.