public class MapMarshaller<T extends Map<Object,Object>> extends Object implements Marshaller<T>
Modifier and Type | Field and Description |
---|---|
static MapMarshaller |
INSTANCE |
Constructor and Description |
---|
MapMarshaller() |
Modifier and Type | Method and Description |
---|---|
T |
demarshall(EJValue o,
MarshallingSession ctx) |
protected T |
doDemarshall(T impl,
EJValue o,
MarshallingSession ctx) |
T[] |
getEmptyArray()
Returns an empty array of the type handled by this marshaller.
|
String |
marshall(T o,
MarshallingSession ctx) |
public static final MapMarshaller INSTANCE
public T[] getEmptyArray()
Marshaller
List.toArray(T[])
.getEmptyArray
in interface Marshaller<T extends Map<Object,Object>>
public T demarshall(EJValue o, MarshallingSession ctx)
demarshall
in interface Marshaller<T extends Map<Object,Object>>
protected T doDemarshall(T impl, EJValue o, MarshallingSession ctx)
public String marshall(T o, MarshallingSession ctx)
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.