Class MessageSourceBridge
- java.lang.Object
-
- java.util.AbstractMap<String,String>
-
- org.joinfaces.autoconfigure.javaxfaces.MessageSourceBridge
-
public class MessageSourceBridge extends AbstractMap<String,String>
This class wraps anMessageSource
and exposes it through theMap API
so it can be easily accessed from JSF.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description MessageSourceBridge()
MessageSourceBridge(MessageSource messageSource)
MessageSourceBridge(MessageSourceAccessor messageSourceAccessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
Set<Map.Entry<String,String>>
entrySet()
boolean
equals(Object o)
String
get(Object key)
int
hashCode()
void
setMessageSourceAccessor(MessageSourceAccessor messageSourceAccessor)
String
toString()
-
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, isEmpty, keySet, put, putAll, remove, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Constructor Detail
-
MessageSourceBridge
public MessageSourceBridge(MessageSource messageSource)
-
MessageSourceBridge
public MessageSourceBridge()
-
MessageSourceBridge
public MessageSourceBridge(MessageSourceAccessor messageSourceAccessor)
-
-
Method Detail
-
equals
public boolean equals(Object o)
-
canEqual
protected boolean canEqual(Object other)
-
hashCode
public int hashCode()
-
toString
public String toString()
- Overrides:
toString
in classAbstractMap<String,String>
-
setMessageSourceAccessor
public void setMessageSourceAccessor(MessageSourceAccessor messageSourceAccessor)
-
-