Interface HierarchicalMessageSource
-
- All Superinterfaces:
MessageSource
- All Known Implementing Classes:
AbstractMessageSource,DelegatingMessageSource,ResourceBundleMessageSource
public interface HierarchicalMessageSource extends MessageSource
Sub-interface of MessageSource to be implemented by objects that can resolve messages hierarchically.Created: 2016. 3. 8.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MessageSourcegetParentMessageSource()Return the parent of this MessageSource, ornullif none.voidsetParentMessageSource(MessageSource parent)Set the parent that will be used to try to resolve messages that this object can't resolve.-
Methods inherited from interface com.aspectran.core.support.i18n.message.MessageSource
getMessage, getMessage
-
-
-
-
Method Detail
-
setParentMessageSource
void setParentMessageSource(MessageSource parent)
Set the parent that will be used to try to resolve messages that this object can't resolve.- Parameters:
parent- the parent MessageSource that will be used to resolve messages that this object can't resolve. May benull, in which case no further resolution is possible.
-
getParentMessageSource
MessageSource getParentMessageSource()
Return the parent of this MessageSource, ornullif none.- Returns:
- the parent message source
-
-