Class ObjectNotationWriterInMemoryWrapper<T,K,V>
java.lang.Object
org.aksw.jenax.graphql.sparql.v2.io.ObjectNotationWriterInMemoryWrapper<T,K,V>
- All Implemented Interfaces:
Flushable,ObjectNotationWriter<K,,V> ObjectNotationWriterInMemory<T,,K, V> ObjectNotationWriterWrapper<K,V>
public class ObjectNotationWriterInMemoryWrapper<T,K,V>
extends Object
implements ObjectNotationWriterWrapper<K,V>, ObjectNotationWriterInMemory<T,K,V>
Combines a writer for the generic types K, V with an in memory sink for an object notation Java type T (e.g. JsonElement).
This classes exposes this setup as an
ObjectNotationWriterInMemory.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ObjectNotationWriter<K,V> protected ObjectNotationWriterInMemory<T,?, ?> -
Constructor Summary
ConstructorsConstructorDescriptionObjectNotationWriterInMemoryWrapper(ObjectNotationWriter<K, V> delegate, ObjectNotationWriterInMemory<T, ?, ?> inMemorySink) -
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.ObjectNotationWriterWrapper
beginArray, beginObject, endArray, endObject, flush, name, nullValue, value
-
Field Details
-
delegate
-
inMemorySink
-
-
Constructor Details
-
ObjectNotationWriterInMemoryWrapper
public ObjectNotationWriterInMemoryWrapper(ObjectNotationWriter<K, V> delegate, ObjectNotationWriterInMemory<T, ?, ?> inMemorySink)
-
-
Method Details
-
getProduct
- Specified by:
getProductin interfaceObjectNotationWriterInMemory<T,K, V>
-
clear
public void clear()- Specified by:
clearin interfaceObjectNotationWriterInMemory<T,K, V>
-
getDelegate
- Specified by:
getDelegatein interfaceObjectNotationWriterWrapper<T,K>
-