类 SelectorComponentSerializer
java.lang.Object
net.md_5.bungee.chat.BaseComponentSerializer
net.md_5.bungee.chat.SelectorComponentSerializer
- 所有已实现的接口:
com.google.gson.JsonDeserializer<SelectorComponent>
,com.google.gson.JsonSerializer<SelectorComponent>
public class SelectorComponentSerializer
extends BaseComponentSerializer
implements com.google.gson.JsonSerializer<SelectorComponent>, com.google.gson.JsonDeserializer<SelectorComponent>
-
构造器概要
-
方法概要
修饰符和类型方法说明deserialize
(com.google.gson.JsonElement element, Type type, com.google.gson.JsonDeserializationContext context) com.google.gson.JsonElement
serialize
(SelectorComponent component, Type type, com.google.gson.JsonSerializationContext context) 从类继承的方法 net.md_5.bungee.chat.BaseComponentSerializer
deserialize, serialize
-
构造器详细资料
-
SelectorComponentSerializer
public SelectorComponentSerializer()
-
-
方法详细资料
-
deserialize
public SelectorComponent deserialize(com.google.gson.JsonElement element, Type type, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException - 指定者:
deserialize
在接口中com.google.gson.JsonDeserializer<SelectorComponent>
- 抛出:
com.google.gson.JsonParseException
-
serialize
public com.google.gson.JsonElement serialize(SelectorComponent component, Type type, com.google.gson.JsonSerializationContext context) - 指定者:
serialize
在接口中com.google.gson.JsonSerializer<SelectorComponent>
-