public abstract class AbstractExtraPropertiesJsonAdapter<T>
extends com.google.gson.TypeAdapter<T>
Constructor and Description |
---|
AbstractExtraPropertiesJsonAdapter(Map<String,? extends org.hibernate.search.elasticsearch.util.impl.gson.AbstractExtraPropertiesJsonAdapter.FieldAdapter<? super T>> fieldAdapters,
org.hibernate.search.elasticsearch.util.impl.gson.AbstractExtraPropertiesJsonAdapter.ExtraPropertyAdapter<? super T> extraPropertyAdapter) |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
createInstance() |
T |
read(com.google.gson.stream.JsonReader in) |
void |
write(com.google.gson.stream.JsonWriter out,
T instance) |
public AbstractExtraPropertiesJsonAdapter(Map<String,? extends org.hibernate.search.elasticsearch.util.impl.gson.AbstractExtraPropertiesJsonAdapter.FieldAdapter<? super T>> fieldAdapters, org.hibernate.search.elasticsearch.util.impl.gson.AbstractExtraPropertiesJsonAdapter.ExtraPropertyAdapter<? super T> extraPropertyAdapter)
public T read(com.google.gson.stream.JsonReader in) throws IOException
read
in class com.google.gson.TypeAdapter<T>
IOException
public void write(com.google.gson.stream.JsonWriter out, T instance) throws IOException
write
in class com.google.gson.TypeAdapter<T>
IOException
protected abstract T createInstance()
Copyright © 2006–2017 Hibernate. All rights reserved.