org.apache.beehive.netui.pageflow.internal
Class ExpressionAwareMessageResources
Object
MessageResources
ExpressionAwareMessageResources
- All Implemented Interfaces:
- Serializable
public class ExpressionAwareMessageResources
- extends MessageResources
Message resources extension that knows how to evaluate JSP 2.0-style expressions (set in the message keys) that are
prefixed with a special indicator string.
- See Also:
- Serialized Form
Fields inherited from class MessageResources |
config, defaultFactory, defaultLocale, factory, formats, log, returnNull |
Method Summary |
String |
getMessage(Locale locale,
String key)
|
String |
getMessage(Locale locale,
String key,
Object[] args)
|
protected void |
setFormBean(Object formBean)
|
static void |
update(MessageResources resources,
Object formBean)
|
Methods inherited from class MessageResources |
escape, getConfig, getFactory, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessageResources, getReturnNull, isPresent, isPresent, localeKey, log, log, messageKey, messageKey, setReturnNull |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpressionAwareMessageResources
public ExpressionAwareMessageResources(Object formBean,
HttpServletRequest request,
ServletContext servletContext)
ExpressionAwareMessageResources
public ExpressionAwareMessageResources(MessageResources delegate,
Object formBean,
HttpServletRequest request,
ServletContext servletContext)
getMessage
public String getMessage(Locale locale,
String key)
- Specified by:
getMessage
in class MessageResources
getMessage
public String getMessage(Locale locale,
String key,
Object[] args)
- Overrides:
getMessage
in class MessageResources
setFormBean
protected void setFormBean(Object formBean)
update
public static void update(MessageResources resources,
Object formBean)