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