org.jboss.errai.marshalling.client.marshallers
Class MapMarshaller<T extends Map<Object,Object>>
java.lang.Object
org.jboss.errai.marshalling.client.marshallers.MapMarshaller<T>
- All Implemented Interfaces:
- Marshaller<T>
- Direct Known Subclasses:
- LinkedMapMarshaller, SortedMapMarshaller
public class MapMarshaller<T extends Map<Object,Object>>
- extends Object
- implements Marshaller<T>
- Author:
- Mike Brock , Christian Sadilek
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final MapMarshaller INSTANCE
MapMarshaller
public MapMarshaller()
getEmptyArray
public T[] getEmptyArray()
- Description copied from interface:
Marshaller
- Returns an empty array of the type handled by this marshaller. Useful in conjunction with
List.toArray(T[])
.
- Specified by:
getEmptyArray
in interface Marshaller<T extends Map<Object,Object>>
- Returns:
- a one-dimensional zero-length array of the type handled by this marshaller.
demarshall
public T demarshall(EJValue o,
MarshallingSession ctx)
- Specified by:
demarshall
in interface Marshaller<T extends Map<Object,Object>>
doDemarshall
protected T doDemarshall(T impl,
EJValue o,
MarshallingSession ctx)
marshall
public String marshall(T o,
MarshallingSession ctx)
- Specified by:
marshall
in interface Marshaller<T extends Map<Object,Object>>
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.