public class ContextMapperCallbackHandler extends CollectingNameClassPairCallbackHandler
Binding, and then passed to
the specified ContextMapper for translation.| Constructor and Description |
|---|
ContextMapperCallbackHandler(ContextMapper mapper)
Constructs a new instance wrapping the supplied
ContextMapper. |
| Modifier and Type | Method and Description |
|---|---|
Object |
getObjectFromNameClassPair(NameClassPair nameClassPair)
Cast the NameClassPair to a
Binding and pass its object to
the ContextMapper. |
getList, handleNameClassPairpublic ContextMapperCallbackHandler(ContextMapper mapper)
ContextMapper.mapper - the mapper to be called for each entry.public Object getObjectFromNameClassPair(NameClassPair nameClassPair)
Binding and pass its object to
the ContextMapper.getObjectFromNameClassPair in class CollectingNameClassPairCallbackHandlernameClassPair - a Binding instance.