Click or drag to resize

SerializableEntity Methods

This is preliminary documentation and is subject to change.

The SerializableEntity type exposes the following members.

Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberLoad(IEntity) Creates a new instance of SerializableEntity from an existing IEntity instance.
Public methodStatic memberLoad(JsonObject) Creates a new instance of SerializableEntity from JsonObject.
Public methodStatic memberLoad(Stream) Loads exactly 1 SerializableEntity from the Stream.
Public methodStatic memberLoad(String) Loads exactly 1 SerializableEntity from the specified file.
Public methodStatic memberLoadAll(Stream) Synchronously enumerates a JSON array of the serialized Wikibase entities contained in the specified stream.
Public methodStatic memberLoadAll(String) Synchronously enumerates a JSON array of the serialized Wikibase entities contained in the specified stream.
Public methodStatic memberLoadAllAsync Asynchronously enumerates a JSON array of the serialized Wikibase entities contained in the specified stream.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberParse Creates a new instance of SerializableEntity from JSON string.
Public methodStatic memberParseAll Enumerates all the entities from JSON array of serialized entities contained in the string.
Public methodToJsonObject Serializes the entity into JSON.
Public methodToJsonString Serializes the entity into compact JSON string.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWriteTo Writes the serialized entity into Stream.
Top
See Also