org.jboss.errai.marshalling.client.marshallers
Class StringMarshaller
java.lang.Object
org.jboss.errai.marshalling.client.marshallers.AbstractNullableMarshaller<String>
org.jboss.errai.marshalling.client.marshallers.StringMarshaller
- All Implemented Interfaces:
- Marshaller<String>
public class StringMarshaller
- extends AbstractNullableMarshaller<String>
- Author:
- Mike Brock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final StringMarshaller INSTANCE
StringMarshaller
public StringMarshaller()
getEmptyArray
public String[] 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 String doNotNullDemarshall(EJValue o,
MarshallingSession ctx)
- Specified by:
doNotNullDemarshall
in class AbstractNullableMarshaller<String>
doNotNullMarshall
public String doNotNullMarshall(String o,
MarshallingSession ctx)
- Specified by:
doNotNullMarshall
in class AbstractNullableMarshaller<String>
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.