public class OWLLiteralImplPlain_CustomFieldSerializer extends com.google.gwt.user.client.rpc.CustomFieldSerializer<OWLLiteralImplPlain>
| Constructor and Description |
|---|
OWLLiteralImplPlain_CustomFieldSerializer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deserialize(com.google.gwt.user.client.rpc.SerializationStreamReader streamReader,
OWLLiteralImplPlain instance) |
void |
deserializeInstance(com.google.gwt.user.client.rpc.SerializationStreamReader streamReader,
OWLLiteralImplPlain instance)
Deserializes the content of the object from the
SerializationStreamReader. |
boolean |
hasCustomInstantiateInstance() |
static OWLLiteralImplPlain |
instantiate(com.google.gwt.user.client.rpc.SerializationStreamReader streamReader) |
OWLLiteralImplPlain |
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,
OWLLiteralImplPlain instance) |
void |
serializeInstance(com.google.gwt.user.client.rpc.SerializationStreamWriter streamWriter,
OWLLiteralImplPlain instance)
Serializes the content of the object into the
SerializationStreamWriter. |
public OWLLiteralImplPlain_CustomFieldSerializer()
public boolean hasCustomInstantiateInstance()
hasCustomInstantiateInstance in class com.google.gwt.user.client.rpc.CustomFieldSerializer<OWLLiteralImplPlain>true if a specialist instantiateInstance(com.google.gwt.user.client.rpc.SerializationStreamReader) is
implemented; false otherwisepublic OWLLiteralImplPlain 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<OWLLiteralImplPlain>streamReader - the SerializationStreamReader to read the
object's content fromSerializationStreamReadercom.google.gwt.user.client.rpc.SerializationException - if the instantiation operation is not
successfulpublic static OWLLiteralImplPlain 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,
OWLLiteralImplPlain instance)
throws com.google.gwt.user.client.rpc.SerializationException
SerializationStreamWriter.serializeInstance in class com.google.gwt.user.client.rpc.CustomFieldSerializer<OWLLiteralImplPlain>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,
OWLLiteralImplPlain 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,
OWLLiteralImplPlain instance)
throws com.google.gwt.user.client.rpc.SerializationException
SerializationStreamReader.deserializeInstance in class com.google.gwt.user.client.rpc.CustomFieldSerializer<OWLLiteralImplPlain>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,
OWLLiteralImplPlain instance)
throws com.google.gwt.user.client.rpc.SerializationException
com.google.gwt.user.client.rpc.SerializationExceptionCopyright © 2017. All rights reserved.