public class ArrayMarshallerWrapper extends AbstractNullableMarshaller<Object>
Constructor and Description |
---|
ArrayMarshallerWrapper(Marshaller<?> wrappedMarshaller) |
Modifier and Type | Method and Description |
---|---|
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 ArrayMarshallerWrapper(Marshaller<?> wrappedMarshaller)
public Object doNotNullDemarshall(EJValue o, MarshallingSession ctx)
doNotNullDemarshall
in class AbstractNullableMarshaller<Object>
public String doNotNullMarshall(Object o, MarshallingSession ctx)
doNotNullMarshall
in class AbstractNullableMarshaller<Object>
public Object[] getEmptyArray()
Marshaller
List.toArray(T[])
.Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.