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