Errai 3.0.1-SNAPSHOT

org.jboss.errai.marshalling.client.marshallers
Class SortedMapMarshaller

java.lang.Object
  extended by org.jboss.errai.marshalling.client.marshallers.MapMarshaller<SortedMap<Object,Object>>
      extended by org.jboss.errai.marshalling.client.marshallers.SortedMapMarshaller
All Implemented Interfaces:
Marshaller<SortedMap<Object,Object>>

public class SortedMapMarshaller
extends MapMarshaller<SortedMap<Object,Object>>

Author:
Mike Brock

Field Summary
 
Fields inherited from class org.jboss.errai.marshalling.client.marshallers.MapMarshaller
INSTANCE
 
Constructor Summary
SortedMapMarshaller()
           
 
Method Summary
 SortedMap<Object,Object> demarshall(EJValue o, MarshallingSession ctx)
           
 SortedMap[] getEmptyArray()
          Returns an empty array of the type handled by this marshaller.
 
Methods inherited from class org.jboss.errai.marshalling.client.marshallers.MapMarshaller
doDemarshall, marshall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortedMapMarshaller

public SortedMapMarshaller()
Method Detail

demarshall

public SortedMap<Object,Object> demarshall(EJValue o,
                                           MarshallingSession ctx)
Specified by:
demarshall in interface Marshaller<SortedMap<Object,Object>>
Overrides:
demarshall in class MapMarshaller<SortedMap<Object,Object>>

getEmptyArray

public SortedMap[] 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<SortedMap<Object,Object>>
Overrides:
getEmptyArray in class MapMarshaller<SortedMap<Object,Object>>
Returns:
a one-dimensional zero-length array of the type handled by this marshaller.

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.