org.jboss.errai.marshalling.client.marshallers
Class DoubleMarshaller
java.lang.Object
org.jboss.errai.marshalling.client.marshallers.AbstractNullableMarshaller<C>
org.jboss.errai.marshalling.client.marshallers.AbstractNumberMarshaller<Double>
org.jboss.errai.marshalling.client.marshallers.DoubleMarshaller
- All Implemented Interfaces:
- Marshaller<Double>
public class DoubleMarshaller
- extends AbstractNumberMarshaller<Double>
- Author:
- Mike Brock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoubleMarshaller
public DoubleMarshaller()
getEmptyArray
public Double[] getEmptyArray()
- Description copied from interface:
Marshaller
- Returns an empty array of the type handled by this marshaller. Useful in conjunction with
List.toArray(T[])
.
- Returns:
- a one-dimensional zero-length array of the type handled by this marshaller.
doNotNullMarshall
public String doNotNullMarshall(Double o,
MarshallingSession ctx)
- Overrides:
doNotNullMarshall
in class AbstractNumberMarshaller<Double>
doNotNullDemarshall
public Double doNotNullDemarshall(EJValue o,
MarshallingSession ctx)
- Specified by:
doNotNullDemarshall
in class AbstractNullableMarshaller<Double>
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.