public class MessageBundleMessageResolver extends Object implements IStringEvaluator
IStringEvaluator accessing messages in a bundle indirectly via
Message object references. This may speed up usage as no actual
message lookup is done in the resources.
The expression is mapped against the key in the MessageBundle.
This one returns a Message object, not a String!| Constructor and Description |
|---|
MessageBundleMessageResolver(MessageBundle bundle) |
public MessageBundleMessageResolver(MessageBundle bundle)
public Object evaluate(String expression, IArgs pArgs) throws EvaluationException
IStringEvaluatorexpression according to the syntax used by the
implementor and return the result.evaluate in interface IStringEvaluatorexpression - The expression to evaluate.EvaluationException - If we encounter a compile or runtime error.Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.