Class JsonWriterAdapter
java.lang.Object
org.aksw.jenax.graphql.sparql.v2.io.JsonWriterAdapter
- All Implemented Interfaces:
Flushable,JsonWriterGson,ObjectNotationWriter<String,,com.google.gson.JsonPrimitive> ObjectNotationWriterExt<String,com.google.gson.JsonPrimitive, JsonWriterGson>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsonWriterAdapter(com.google.gson.stream.JsonWriter delegate, com.google.gson.Gson gson) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.jenax.graphql.sparql.v2.io.JsonWriterGson
value
-
Field Details
-
delegate
protected com.google.gson.stream.JsonWriter delegate -
gson
protected com.google.gson.Gson gson
-
-
Constructor Details
-
JsonWriterAdapter
protected JsonWriterAdapter(com.google.gson.stream.JsonWriter delegate, com.google.gson.Gson gson)
-
-
Method Details
-
of
public static JsonWriterGson of(com.google.gson.stream.JsonWriter delegate, com.google.gson.Gson gson) -
beginArray
- Specified by:
beginArrayin interfaceObjectNotationWriter<String,com.google.gson.JsonPrimitive> - Specified by:
beginArrayin interfaceObjectNotationWriterExt<String,com.google.gson.JsonPrimitive, JsonWriterGson> - Throws:
IOException
-
endArray
- Specified by:
endArrayin interfaceObjectNotationWriter<String,com.google.gson.JsonPrimitive> - Specified by:
endArrayin interfaceObjectNotationWriterExt<String,com.google.gson.JsonPrimitive, JsonWriterGson> - Throws:
IOException
-
beginObject
- Specified by:
beginObjectin interfaceObjectNotationWriter<String,com.google.gson.JsonPrimitive> - Specified by:
beginObjectin interfaceObjectNotationWriterExt<String,com.google.gson.JsonPrimitive, JsonWriterGson> - Throws:
IOException
-
endObject
- Specified by:
endObjectin interfaceObjectNotationWriter<String,com.google.gson.JsonPrimitive> - Specified by:
endObjectin interfaceObjectNotationWriterExt<String,com.google.gson.JsonPrimitive, JsonWriterGson> - Throws:
IOException
-
name
- Specified by:
namein interfaceObjectNotationWriter<String,com.google.gson.JsonPrimitive> - Specified by:
namein interfaceObjectNotationWriterExt<String,com.google.gson.JsonPrimitive, JsonWriterGson> - Throws:
IOException
-
value
- Specified by:
valuein interfaceJsonWriterGson- Throws:
IOException
-
value
- Specified by:
valuein interfaceJsonWriterGson- Throws:
IOException
-
value
- Specified by:
valuein interfaceJsonWriterGson- Throws:
IOException
-
value
- Specified by:
valuein interfaceJsonWriterGson- Throws:
IOException
-
value
- Specified by:
valuein interfaceJsonWriterGson- Throws:
IOException
-
nullValue
- Specified by:
nullValuein interfaceObjectNotationWriter<String,com.google.gson.JsonPrimitive> - Specified by:
nullValuein interfaceObjectNotationWriterExt<String,com.google.gson.JsonPrimitive, JsonWriterGson> - Throws:
IOException
-
value
- Specified by:
valuein interfaceJsonWriterGson- Throws:
IOException
-
toJson
Description copied from interface:JsonWriterGsonExtension- Specified by:
toJsonin interfaceJsonWriterGson- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Throws:
IOException
-