List of usage examples for com.google.gson TypeAdapter subclass-usage
From source file org.komodo.rest.relational.json.AbstractContentSerializer.java
/** * A GSON serializer/deserializer for {@status AbstractKomodoContentAttribute}. */ public abstract class AbstractContentSerializer<T extends AbstractKomodoContentAttribute> extends TypeAdapter<T> { protected String readContent(final JsonReader in, final AbstractKomodoContentAttribute contentAttr,
From source file org.komodo.rest.relational.json.AbstractEntitySerializer.java
/**
* A GSON serializer/deserializer for the Komodo REST objects.
*
* @param <T>
* the {@link RestBasicEntity} subclass
*/
From source file org.komodo.rest.relational.json.connection.ConnectionSchemaPropertyListSerializer.java
public class ConnectionSchemaPropertyListSerializer extends TypeAdapter<List<ConnectionSchemaProperty>> { @Override public List<ConnectionSchemaProperty> read(JsonReader in) throws IOException { throw new UnsupportedOperationException(); }
From source file org.komodo.rest.relational.json.connection.ConnectionSchemaPropertyPairPropertySerializer.java
/** * A GSON serializer/deserializer for {@status ConnectionSchemaProperty}. */ public class ConnectionSchemaPropertyPairPropertySerializer extends TypeAdapter<ConnectionSchemaPairProperty> { @Override
From source file org.komodo.rest.relational.json.connection.ConnectionSchemaPropertySerializer.java
/** * A GSON serializer/deserializer for {@status ConnectionSchemaProperty}. */ public class ConnectionSchemaPropertySerializer extends TypeAdapter<ConnectionSchemaProperty> { @Override
From source file org.komodo.rest.relational.json.connection.ConnectionSchemaSerializer.java
/** * A GSON serializer/deserializer for {@status ConnectionSchema}. */ public class ConnectionSchemaSerializer extends TypeAdapter<ConnectionSchema> { @Override
From source file org.komodo.rest.relational.json.ConnectionAttributesSerializer.java
/** * A GSON serializer/deserializer for {@status KomodoConnectionObject}s. */ public final class ConnectionAttributesSerializer extends TypeAdapter<KomodoConnectionAttributes> { private static final Type OBJECT_MAP_TYPE = new TypeToken<Map<String, Object>>() {
From source file org.komodo.rest.relational.json.DataserviceUpdateAttributesSerializer.java
/** * A GSON serializer/deserializer for {@status KomodoDataserviceUpdateAttribute}s. */ public final class DataserviceUpdateAttributesSerializer extends TypeAdapter<KomodoDataserviceUpdateAttributes> { private static final Type STRING_LIST_TYPE = new TypeToken<List<String>>() {
From source file org.komodo.rest.relational.json.datasource.DSSPropertyListSerializer.java
public class DSSPropertyListSerializer extends TypeAdapter<List<DataSourceSchemaProperty>> { @Override public List<DataSourceSchemaProperty> read(JsonReader in) throws IOException { throw new UnsupportedOperationException(); }
From source file org.komodo.rest.relational.json.datasource.DSSPropertyPairPropertySerializer.java
/** * A GSON serializer/deserializer for {@status DataSourceSchemaProperty}. */ public class DSSPropertyPairPropertySerializer extends TypeAdapter<DSSPropertyPairProperty> { @Override