K
- cached key typeV
- cached value typeKT
- target key typeVT
- target value typepublic interface TypeConverter<K,V,KT,VT>
Modifier and Type | Method and Description |
---|---|
KT |
boxKey(K key)
Covert a instance of cached key type into an instance of target key type.
|
VT |
boxValue(V value)
Covert a instance of cached key type into an instance of target key type.
|
void |
setMarshaller(Marshaller marshaller)
Marshaller to be used by the type converter to marshall/unmarshall contents.
|
boolean |
supportsInvocation(Flag flag)
Indicates whether this type converter supports a particular type of
operation.
|
K |
unboxKey(KT target)
Convert back an instance of the target key type into an instance of
the cached key type.
|
V |
unboxValue(VT target)
Convert back an instance of the target value type into an instance of
the cached value type.
|
KT boxKey(K key)
key
- cached key instance to convertVT boxValue(V value)
value
- cached value instance to convertK unboxKey(KT target)
target
- target key type instance to convert backV unboxValue(VT target)
target
- target value type instance to convert backboolean supportsInvocation(Flag flag)
void setMarshaller(Marshaller marshaller)
marshaller
- marshaller instance to be used.Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.