| java.lang.Object org.apache.struts.faces.util.MessagesMap
MessagesMap | public class MessagesMap implements Map(Code) | | A limited immutable Map implementation that wraps the
MessageResources instance for the specified
Locale . Exposing the messages as a Map
makes them easily accessible via value binding expressions, as
well as JSP 2.0 expression language expressions.
|
MessagesMap | public MessagesMap(MessageResources messages, Locale locale)(Code) | | Construct a new
MessagesMap instance that wraps the
specified MessageResources instance, and returns messages
for the specified Locale .
Parameters: messages - MessageResources instance to wrap Parameters: locale - Locale for which to retrieve messages,or null for the system default Locale exception: NullPointerException - if messages is null |
clear | public void clear()(Code) | | The clear() method is not supported.
|
containsKey | public boolean containsKey(Object key)(Code) | | Return true if there is a message for the
specified key.
Parameters: key - Message key to evaluate |
containsValue | public boolean containsValue(Object value)(Code) | | The containsValue() method is not supported.
Parameters: value - Value to evaluate |
entrySet | public Set entrySet()(Code) | | The entrySet() method is not supported.
|
equals | public boolean equals(Object o)(Code) | | The equals method checks whether equal
MessageResources and Locale are
being wrapped.
Parameters: o - The object to be compared |
get | public Object get(Object key)(Code) | | Return the message string for the specified key.
Parameters: key - Key for message to return |
getLocale | Locale getLocale()(Code) | | Return the Locale we object we are wrapping.
|
hashCode | public int hashCode()(Code) | | The hashCode() method returns values that will
be identical if the equals method returns true .
|
isEmpty | public boolean isEmpty()(Code) | | The isEmpty() method returns false , on the
assumption that there is always at least one message available.
|
keySet | public Set keySet()(Code) | | The keySet() method is not supported.
|
put | public Object put(Object key, Object value)(Code) | | The put() method is not supported.
Parameters: key - Key to store Parameters: value - Value to store |
putAll | public void putAll(Map map)(Code) | | The putAll() method is not supported.
Parameters: map - Keys and values to store |
remove | public Object remove(Object key)(Code) | | The remove() method is not supported.
Parameters: key - Key to remove |
size | public int size()(Code) | | The size() method is not supported.
|
|
|