Errai 3.0.1-SNAPSHOT

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

java.lang.Object
  extended by org.jboss.errai.marshalling.client.marshallers.ErraiProtocolEnvelopeNoAutoMarshaller
All Implemented Interfaces:
Marshaller<Map<String,Object>>

public class ErraiProtocolEnvelopeNoAutoMarshaller
extends Object
implements Marshaller<Map<String,Object>>

Author:
Mike Brock, Christian Sadilek

Field Summary
static ErraiProtocolEnvelopeNoAutoMarshaller INSTANCE
           
 
Constructor Summary
ErraiProtocolEnvelopeNoAutoMarshaller()
           
 
Method Summary
 Map<String,Object> demarshall(EJValue o, MarshallingSession ctx)
           
protected  Map<String,Object> doDemarshall(Map<String,Object> impl, EJValue o, MarshallingSession ctx)
           
 Map<String,Object>[] getEmptyArray()
          Returns an empty array of the type handled by this marshaller.
 String marshall(Map<String,Object> o, MarshallingSession ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final ErraiProtocolEnvelopeNoAutoMarshaller INSTANCE
Constructor Detail

ErraiProtocolEnvelopeNoAutoMarshaller

public ErraiProtocolEnvelopeNoAutoMarshaller()
Method Detail

demarshall

public Map<String,Object> demarshall(EJValue o,
                                     MarshallingSession ctx)
Specified by:
demarshall in interface Marshaller<Map<String,Object>>

doDemarshall

protected Map<String,Object> doDemarshall(Map<String,Object> impl,
                                          EJValue o,
                                          MarshallingSession ctx)

marshall

public String marshall(Map<String,Object> o,
                       MarshallingSession ctx)
Specified by:
marshall in interface Marshaller<Map<String,Object>>

getEmptyArray

public Map<String,Object>[] 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<Map<String,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.