Constructor and Description |
---|
HotRodTypeConverter() |
Modifier and Type | Method and Description |
---|---|
Object |
boxKey(Object key)
Covert a instance of cached key type into an instance of target key type.
|
Object |
boxValue(Object 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.
|
byte[] |
unboxKey(Object target)
Convert back an instance of the target key type into an instance of
the cached key type.
|
byte[] |
unboxValue(Object target)
Convert back an instance of the target value type into an instance of
the cached value type.
|
public Object boxKey(Object key)
TypeConverter
public Object boxValue(Object value)
TypeConverter
public byte[] unboxKey(Object target)
TypeConverter
public byte[] unboxValue(Object target)
TypeConverter
unboxValue
in interface TypeConverter<Object,Object,Object,Object>
target
- target value type instance to convert backpublic boolean supportsInvocation(Flag flag)
TypeConverter
supportsInvocation
in interface TypeConverter<Object,Object,Object,Object>
public void setMarshaller(Marshaller marshaller)
TypeConverter
setMarshaller
in interface TypeConverter<Object,Object,Object,Object>
marshaller
- marshaller instance to be used.Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.