public class OWLDataHasValueImpl_CustomFieldSerializer extends com.google.gwt.user.client.rpc.CustomFieldSerializer<OWLDataHasValueImpl>
OWLDataHasValueImpl
objects.| Constructor and Description |
|---|
OWLDataHasValueImpl_CustomFieldSerializer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deserialize(com.google.gwt.user.client.rpc.SerializationStreamReader streamReader,
OWLDataHasValueImpl instance) |
void |
deserializeInstance(com.google.gwt.user.client.rpc.SerializationStreamReader streamReader,
OWLDataHasValueImpl instance)
Deserializes the content of the object from the
SerializationStreamReader. |
boolean |
hasCustomInstantiateInstance() |
static OWLDataHasValueImpl |
instantiate(com.google.gwt.user.client.rpc.SerializationStreamReader streamReader) |
OWLDataHasValueImpl |
instantiateInstance(com.google.gwt.user.client.rpc.SerializationStreamReader streamReader)
Instantiates an object from the
SerializationStreamReader. |
static void |
serialize(com.google.gwt.user.client.rpc.SerializationStreamWriter streamWriter,
OWLDataHasValueImpl instance) |
void |
serializeInstance(com.google.gwt.user.client.rpc.SerializationStreamWriter streamWriter,
OWLDataHasValueImpl instance)
Serializes the content of the object into the
SerializationStreamWriter. |
public OWLDataHasValueImpl_CustomFieldSerializer()
public boolean hasCustomInstantiateInstance()
hasCustomInstantiateInstance in class com.google.gwt.user.client.rpc.CustomFieldSerializer<OWLDataHasValueImpl>true if a specialist instantiateInstance(com.google.gwt.user.client.rpc.SerializationStreamReader) is
implemented; false otherwisepublic OWLDataHasValueImpl instantiateInstance(com.google.gwt.user.client.rpc.SerializationStreamReader streamReader) throws com.google.gwt.user.client.rpc.SerializationException
SerializationStreamReader.
Most of the time, this can be left unimplemented and the framework
will instantiate the instance itself. This is typically used when the
object being deserialized is immutable, hence it has to be created with
its state already set.
If this is overridden, the hasCustomInstantiateInstance() method
must return true in order for the framework to know to call
it.instantiateInstance in class com.google.gwt.user.client.rpc.CustomFieldSerializer<OWLDataHasValueImpl>streamReader - the SerializationStreamReader to read the
object's content fromSerializationStreamReadercom.google.gwt.user.client.rpc.SerializationException - if the instantiation operation is not
successfulpublic static OWLDataHasValueImpl instantiate(com.google.gwt.user.client.rpc.SerializationStreamReader streamReader) throws com.google.gwt.user.client.rpc.SerializationException
com.google.gwt.user.client.rpc.SerializationExceptionpublic void serializeInstance(com.google.gwt.user.client.rpc.SerializationStreamWriter streamWriter,
OWLDataHasValueImpl instance)
throws com.google.gwt.user.client.rpc.SerializationException
SerializationStreamWriter.serializeInstance in class com.google.gwt.user.client.rpc.CustomFieldSerializer<OWLDataHasValueImpl>streamWriter - the SerializationStreamWriter to write the
object's content toinstance - the object instance to serializecom.google.gwt.user.client.rpc.SerializationException - if the serialization operation is not
successfulpublic static void serialize(com.google.gwt.user.client.rpc.SerializationStreamWriter streamWriter,
OWLDataHasValueImpl instance)
throws com.google.gwt.user.client.rpc.SerializationException
com.google.gwt.user.client.rpc.SerializationExceptionpublic void deserializeInstance(com.google.gwt.user.client.rpc.SerializationStreamReader streamReader,
OWLDataHasValueImpl instance)
throws com.google.gwt.user.client.rpc.SerializationException
SerializationStreamReader.deserializeInstance in class com.google.gwt.user.client.rpc.CustomFieldSerializer<OWLDataHasValueImpl>streamReader - the SerializationStreamReader to read the
object's content frominstance - the object instance to deserializecom.google.gwt.user.client.rpc.SerializationException - if the deserialization operation is not
successfulpublic static void deserialize(com.google.gwt.user.client.rpc.SerializationStreamReader streamReader,
OWLDataHasValueImpl instance)
throws com.google.gwt.user.client.rpc.SerializationException
com.google.gwt.user.client.rpc.SerializationExceptionCopyright © 2017. All rights reserved.