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