Interface ConfigurationSerializable

All Known Subinterfaces:
BookMeta, EnchantmentStorageMeta, FireworkEffectMeta, FireworkMeta, ItemMeta, LeatherArmorMeta, MapMeta, OfflinePlayer, Player, PotionMeta, SkullMeta
All Known Implementing Classes:
BlockVector, Color, FireworkEffect, ItemStack, PotionEffect, Vector

public interface ConfigurationSerializable

Represents an object that may be serialized.

These objects MUST implement one of the following, in addition to the methods as defined by this interface:

In addition to implementing this interface, you must register the class with ConfigurationSerialization.registerClass(Class).

See Also:
DelegateDeserialization, SerializableAs

Method Summary
 Map<String,Object> serialize()
          Creates a Map representation of this class.

Method Detail


Map<String,Object> serialize()
Creates a Map representation of this class.

This class must provide a method to restore this class, as defined in the ConfigurationSerializable interface javadocs.

Map containing the current state of this class

Copyright © 2014. All rights reserved.