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