Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cxf.message
Interface StringMap

All Superinterfaces:
  java.util.Map<java.lang.String,java.lang.Object>

All Known Subinterfaces:
  Exchange, Message

All Known Implementing Classes:
  AbstractWrappedMessage, ExchangeImpl, MessageImpl, StringMapImpl, XMLMessage

    public interface StringMap

extends java.util.Map<java.lang.String,java.lang.Object>

Nested Class Summary

Nested classes/interfaces inherited from interface java.util.Map
`java.util.Map.Entry<K,V>`

Method Summary
`
`<T> T`
` | `get(java.lang.Class<T> key)` Convenience method for storing/retrieving typed objects from the map.
`
`<T> void`
` | `put(java.lang.Class<T> key, T value)` Convenience method for storing/retrieving typed objects from the map.

Methods inherited from interface java.util.Map
`clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values`

Method Detail

### get

    <T> T get(java.lang.Class<T> key)

  Convenience method for storing/retrieving typed objects from the map. equivalent to: (T)get(key.getName());

  Parameters:
    `key` - the key
  Returns:
    the value

### put

    <T> void put(java.lang.Class<T> key,
                 T value)

  Convenience method for storing/retrieving typed objects from the map. equivalent to: put(key.getName(), value);

  Parameters:
    `key` - the key
    `value` - the value

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Apache CXF is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.