Errai 3.0.1-SNAPSHOT

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

java.lang.Object
  extended by org.jboss.errai.marshalling.client.marshallers.AbstractNullableMarshaller<StringBuilder>
      extended by org.jboss.errai.marshalling.client.marshallers.StringBuilderMarshaller
All Implemented Interfaces:
Marshaller<StringBuilder>

public class StringBuilderMarshaller
extends AbstractNullableMarshaller<StringBuilder>

Author:
Mike Brock

Field Summary
static StringBuilderMarshaller INSTANCE
           
 
Constructor Summary
StringBuilderMarshaller()
           
 
Method Summary
 StringBuilder doNotNullDemarshall(EJValue o, MarshallingSession ctx)
           
 String doNotNullMarshall(StringBuilder o, MarshallingSession ctx)
           
 StringBuilder[] getEmptyArray()
          Returns an empty array of the type handled by this marshaller.
 
Methods inherited from class org.jboss.errai.marshalling.client.marshallers.AbstractNullableMarshaller
demarshall, 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 StringBuilderMarshaller INSTANCE
Constructor Detail

StringBuilderMarshaller

public StringBuilderMarshaller()
Method Detail

getEmptyArray

public StringBuilder[] 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.

doNotNullDemarshall

public StringBuilder doNotNullDemarshall(EJValue o,
                                         MarshallingSession ctx)
Specified by:
doNotNullDemarshall in class AbstractNullableMarshaller<StringBuilder>

doNotNullMarshall

public String doNotNullMarshall(StringBuilder o,
                                MarshallingSession ctx)
Specified by:
doNotNullMarshall in class AbstractNullableMarshaller<StringBuilder>

Errai 3.0.1-SNAPSHOT

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