Errai 3.0.1-SNAPSHOT

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

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

public class LinkedListMarshaller
extends AbstractCollectionMarshaller<LinkedList>

Author:
Mike Brock

Constructor Summary
LinkedListMarshaller()
           
 
Method Summary
 LinkedList doDemarshall(EJArray o, MarshallingSession ctx)
           
 LinkedList[] 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
 

Constructor Detail

LinkedListMarshaller

public LinkedListMarshaller()
Method Detail

getEmptyArray

public LinkedList[] 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 LinkedList doDemarshall(EJArray o,
                               MarshallingSession ctx)
Specified by:
doDemarshall in class AbstractCollectionMarshaller<LinkedList>

Errai 3.0.1-SNAPSHOT

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