Errai 3.0.1-SNAPSHOT

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

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

public class SetMarshaller
extends AbstractCollectionMarshaller<Set>

Author:
Mike Brock

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

SetMarshaller

public SetMarshaller()
Method Detail

getEmptyArray

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

Errai 3.0.1-SNAPSHOT

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