Errai 3.0.1-SNAPSHOT

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

java.lang.Object
  extended by org.jboss.errai.marshalling.client.marshallers.AbstractBackReferencingMarshaller<C>
      extended by org.jboss.errai.marshalling.client.marshallers.AbstractCollectionMarshaller<List>
          extended by org.jboss.errai.marshalling.client.marshallers.ListMarshaller
All Implemented Interfaces:
Marshaller<List>

public class ListMarshaller
extends AbstractCollectionMarshaller<List>

Author:
Mike Brock

Field Summary
static ListMarshaller INSTANCE
           
 
Constructor Summary
ListMarshaller()
           
 
Method Summary
 List doDemarshall(EJArray o, MarshallingSession ctx)
           
 List[] getEmptyArray()
          Returns an empty array of the type handled by this marshaller.
 
Methods inherited from class org.jboss.errai.marshalling.client.marshallers.AbstractCollectionMarshaller
doDemarshall, doMarshall, marshallToCollection
 
Methods inherited from class org.jboss.errai.marshalling.client.marshallers.AbstractBackReferencingMarshaller
demarshall, marshall, marshall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final ListMarshaller INSTANCE
Constructor Detail

ListMarshaller

public ListMarshaller()
Method Detail

getEmptyArray

public List[] getEmptyArray()
Description copied from interface: Marshaller
Returns an empty array of the type handled by this marshaller. Useful in conjunction with List.toArray(T[]).

Returns:
a one-dimensional zero-length array of the type handled by this marshaller.

doDemarshall

public List doDemarshall(EJArray o,
                         MarshallingSession ctx)
Specified by:
doDemarshall in class AbstractCollectionMarshaller<List>

Errai 3.0.1-SNAPSHOT

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