Class ObjectNotationWriterMapperImpl<KI,KO,VI,VO>
java.lang.Object
org.aksw.jenax.graphql.sparql.v2.io.ObjectNotationWriterMapperImpl<KI,KO,VI,VO>
- All Implemented Interfaces:
Flushable,ObjectNotationWriter<KI,,VI> ObjectNotationWriterMapper<KI,KO, VI, VO>
public class ObjectNotationWriterMapperImpl<KI,KO,VI,VO>
extends Object
implements ObjectNotationWriterMapper<KI,KO,VI,VO>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ObjectNotationWriter<KO,VO> protected GonProvider<KO,VO> -
Constructor Summary
ConstructorsConstructorDescriptionObjectNotationWriterMapperImpl(ObjectNotationWriter<KO, VO> delegate, GonProvider<KO, VO> gonProvider, Function<? super KI, ? extends KO> keyMapper, Function<? super VI, ? extends Object> valueMapper) -
Method Summary
Modifier and TypeMethodDescriptionendArray()voidflush()protected ObjectNotationWriter<KO,VO> Write a primitive value (should exclude null)
-
Field Details
-
delegate
-
gonProvider
-
keyMapper
-
valueMapper
-
-
Constructor Details
-
ObjectNotationWriterMapperImpl
-
-
Method Details
-
getDelegate
-
flush
- Specified by:
flushin interfaceFlushable- Throws:
IOException
-
beginArray
- Specified by:
beginArrayin interfaceObjectNotationWriter<KI,KO> - Throws:
IOException
-
endArray
- Specified by:
endArrayin interfaceObjectNotationWriter<KI,KO> - Throws:
IOException
-
beginObject
- Specified by:
beginObjectin interfaceObjectNotationWriter<KI,KO> - Throws:
IOException
-
endObject
- Specified by:
endObjectin interfaceObjectNotationWriter<KI,KO> - Throws:
IOException
-
name
- Specified by:
namein interfaceObjectNotationWriter<KI,KO> - Throws:
IOException
-
value
Write a primitive value (should exclude null)- Specified by:
valuein interfaceObjectNotationWriter<KI,KO> - Throws:
IOException
-
nullValue
- Specified by:
nullValuein interfaceObjectNotationWriter<KI,KO> - Throws:
IOException
-