public class StringMarshaller extends AbstractNullableMarshaller<String>
Modifier and Type | Field and Description |
---|---|
static StringMarshaller |
INSTANCE |
Constructor and Description |
---|
StringMarshaller() |
Modifier and Type | Method and Description |
---|---|
String |
doNotNullDemarshall(EJValue o,
MarshallingSession ctx) |
String |
doNotNullMarshall(String o,
MarshallingSession ctx) |
String[] |
getEmptyArray()
Returns an empty array of the type handled by this marshaller.
|
demarshall, marshall
public static final StringMarshaller INSTANCE
public String[] getEmptyArray()
Marshaller
List.toArray(T[])
.public String doNotNullDemarshall(EJValue o, MarshallingSession ctx)
doNotNullDemarshall
in class AbstractNullableMarshaller<String>
public String doNotNullMarshall(String o, MarshallingSession ctx)
doNotNullMarshall
in class AbstractNullableMarshaller<String>
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.